[thelist] Another quick CSS question

Seb Barre sebastien at oven.com
Tue Oct 31 14:40:15 CST 2000


At 11:24 AM 10/31/2000 -0800, you wrote:
>I left my CSS book at work.
>
>When defining a style, what's the difference between how these two example 
>snippets work (i.e., what does the comma do/not do between the tags):
>
>P TD {stuff goes here;}
>
>P, TD {stuff goes here;}

A comma defines a list of elements that have the same attributes, while no 
comma (in the case above) would mean "TD tags that appear inside P tags".

I think? =)




--- -- -
Seb Barre - sebastien at oven.com
OVEN Digital Toronto
Work: 416-595-9750 x 222
Mobile: 416-254-5078
http://www.oven.com/





More information about the thelist mailing list