On Jan 9, 2006, at 10:57 AM, Bart Hook wrote:
> The states of my links seem to be getting "confused". They all end up
> looking like the footer links. Any idea why this may be happening?
> Any help
> is greatly appreciated.
>
> Here is the CSS:
>
> .footer a:link, a:visited {
> color: #ffffff;
> text-decoration: none;
> }
>
> .footer a:hover, a:active {
> color: #ffffff;
> text-decoration: underline;
> }
Bart,
The problem is with the last two declarations. After the comma, it's
an entirely new selector -- the a:visited selector doesn't know that
it's supposed to come under the .footer. Same with a:active. A
visited link will always look like what you intend to be a footer
visited link.
Here's how the declarations should read:
.footer a:link, .footer a:visited {
color: #ffffff;
text-decoration: none;
}
.footer a:hover, .footer a:active {
color: #ffffff;
text-decoration: underline;
}
That should do the trick.
Good luck!
--
Matthew Levine (http://www.infocraft.com/)
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/