logo       

cascading problem in navigation links?: msg#01270

Subject: cascading problem in navigation links?
> .footernav a:hover {  color: #990033; text-decoration: underline}
> 
> The above rule applies styles to links inside the "footernav" class. "Home"
> does not receive the styling because there is not a link inside the span.
> 
> <a href="index.html"><span class="footernav">Home</span></a>
> 
> 
> Tim

Thanks Tim,

I have taken out the spans and enclosed the whole nav bar in a div with the
footernav class applied. This seems to have worked.

Thanks for your help,
David

_______________________________________________
css-discuss [css-discuss@xxxxxxxxxxx]
http://three.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning



<Prev in Thread] Current Thread [Next in Thread>