Erin Spangler wrote:

>[...] I'd like to have some way for the visitor to identify which page they 
>are on while browsing through. I've tried  
>using a class like this one:
>
>.current {
>  color: #fff;
>  background: #800000;
>}
>But because of inheritance or some reason, it's not showing up. The rest of 
>the relevent CSS is below.
>[...]
>
Hi Erin,
Perhaps you can give a try in the css with the full "path":

#left-top-nav li .current a { color: #fff; background: #800000; }

with in html:

<div id="left-top-nav">
<ul>
<li class="first"><a href="begin-here.html">Where do I begin?</a></li>
<li><a href="prices-plans.html">Prices and Plans</a></li>
<li class="current"><a href="sample-pages.html">Sample Pages</a></li>
<li><a href="faqs.html">Frequently Asked Questions</a></li>
<li><a href="about-us.html">About Us</a></li>
<li><a href="links.html">Links</a></li>
<li class="last"><a href="mailto:[EMAIL PROTECTED]">Contact Us</a></li>
</ul>
</div> <!-- end "left-top-nav" div -->

Greetings,
francky


______________________________________________________________________
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/

Reply via email to