Scott Haneda wrote: > Can someone help me with this one: > > <ul id="navlist"> > <li><a href="/index.ws">Home</a></li> | > <li><a href="/who/index.ws">Who are we?</a></li> | > <li><a href="/why/index.ws">Why Us?</a></li> | > <li><a href="/approach/index.ws">Our Approach</a></li> | > <li><a href="/clients/index.ws" > class='selected'>Clients</a></li> | <li><a > href="/talk/index.ws">Lets Talk</a></li> </ul> > > a.selected { > color: red; > font-weight: bold; > } > > I get the bold, but not the red
Since you're not giving the actual context of the snippet, I can only guess: You probably have set a colour for ul#navlist a, and to override it with just a class, you'd have to add the parent's selector too. IOW, the following will probably work: #navlist a.selected { color: red; font-weight: bold; } If not, provide a url so we can look at the rest of the code. -- Els http://locusmeus.com/ http://locusoptimus.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/