Previous Message
Next Message

Syntax question

Sent by Rebecca Cox on 1 September 2005 23:11


Have a look at these on http://www.selectoracle.com

No spaces > means an item which has all the attributes (buggy on IE win)
useful if you want to get at something with an ID and a class combination,
eg <div id="sectionlead" class="punk"> would be selected by 

#sectionlead.punk {
Color: red;
}

Etc - you get probs in IE Win if you write more than one of these rules in
succession in the CSS.

Spaces > means child of.



-----Original Message-----
From: [EMAIL-REMOVED]
[EMAIL-REMOVED]] On Behalf Of Bert Mahoney
Sent: Friday, 2 September 2005 11:27 a.m.
To: [EMAIL-REMOVED]
Subject: [css-d] Syntax question

Hi,
When trying to style children selectors should space come between the  
names?

For example which is correct:

div.fooBar #FOO #BAR

0r

div.fooBar#FOO#BAR

??

Thanks,
Bert
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: