[Javascript] separating structure, style, and behavior

Terry Riegel riegel at clearimageonline.com
Fri May 7 09:58:55 CDT 2004


Thanks,

Could it be written
#localnav td p, td a:link, a:visited {stuff here...}


What is the difference between these two?

  margin-left: 10;
  padding-left: 10;


Terry Riegel
-----------------
MAILKEY: 2524427349




On May 7, 2004, at 10:51 AM, Hakan Magnusson wrote:

> It means:
>
> #localnav td p (AND)
> #localnav td a:link (AND)
> #localnav td a:visited (should all have this style)
>
> It's simple grouping.
>
> Regards,
> H
>
> Terry Riegel wrote:
>> Can anyone explain this to me.
>> #localnav td p,
>> #localnav td a:link,
>> #localnav td a:visited {padding-right: 10px; display: block; color: 
>> #000000; text-decoration: none;}
>> #localnav {background-color: #ffffff;}
>> What does the comma after p and after link mean?
>> Terry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 936 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040507/771913f0/attachment.bin>


More information about the Javascript mailing list