Affrternoon Scott
You 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
> --
If all you want is bold red text for the link make these changes
in the CSS;
.selected a{ <-- reverse the .selected and the A
color: red;
font-weight: bold;
}
And in the html;
<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 class="selected"><a href="/clients/index.ws" >Clients</a></li> | <---
move the selector from the anchor to the * <li>* and use double quotes not
single......
<li><a href="/talk/index.ws">Lets Talk</a></li>
</ul>
Tested locally in FF 1.5.0.4 and IE 6.0 win xp pro sp2...
hth
Jim Nannery
owner - www.backporchgames.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/