Previous Message
Next Message

[css-d] cascading problem in navigation links?

Sent by David Bailey on 30 September 2002 04:04


> .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
Previous Message
Next Message

Message thread:

Possibly related: