On 2007-05-15 Steve LaBadie wrote:
> I would like to have an active link on each page as a person navigates
> from page to page. All on want to do is bold the text and change the
> color to #bd2925.
[...]
> On the active page itself I have
>
> <body id="pres">
[...]
> <ul>
> <li id="presnav"><a href="pres_mes.cfm">President's Message</a></li>
[...]
> The CSS page
>
> body#pres a#presnav, body#hist a#histnav, body#miss a#missnav,
> body#accred a#accrednav {
> color: #BD2925;
> font-weight: bold;
> }
With that html markup you want this for the selectors:
body#pres #presnav a,
body#pres #presnav a:visited {
color: #BD2925;
font-weight: bold;
}
HTH,
-Steve
--
Steve Axthelm
[EMAIL PROTECTED]
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/