> 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.

Hey Adam,
That helps immensely!  I was just about to post a message to our 
internal mailing list suggesting the .home.about method, but instead I'm 
just going to use the following method that I posted previously:

<div class="about abouthome">

and then refer to classes like this:

.about{color:blue;}

... for ABOUT section-specific styles and

.abouthome{font:arial;}

... for about HOME page-specific styles.


Thanks!
Mike
______________________________________________________________________
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/

Reply via email to