Zoe M. Gillenwater wrote: > >>>Does this accurately describe the div above: > >>>about + home {color:black}; > >>> > >>No. that would be > >>.about.home { color: black;} > > > >Interesting. Do you know the name for this kind of styling? I'm going > >to test it in various browsers right now. > >I suppose it's just called multiple class styling. IE doesn't support >it fully. An easier way to get what you want: > >.about, .home { color: black; }
Actually, that formulation could well break something you don't want broken. Note that .about.home will break in IE/Win, which will apply the rule to everything with the "home" class, completely ignoring the "about" class. However, modern browsers will get it correct, and only apply the rule to elements with both classes. Zoe's method will apply the rule to any element with *either* class in all browsers. That is probably not what you want. FWIW, support for multiple class selectors is supposedly on the fix list for IE7. HTH, -Adam Kuehn ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/