PDA

View Full Version : CSS Hover links not showing in Firefox & Safari?



FatCodeMonkey
Oct 21st, 2008, 10:14 PM
Here is my code:



a, a:link {
text-decoration: none;
color: #999999;
}

a:hover {
text-decoration: none;
color: #99CCFF;
}

a:visited {
text-decoration: none;
color: #999999;
}


The links do not change color when you hover in Firefox or Safari. Why? What can I do to get it work?

harbingerOTV
Oct 21st, 2008, 10:16 PM
css for links has a specific order:

Link
Visited
Hover
Active

LoVe HAte

FatCodeMonkey
Oct 21st, 2008, 10:46 PM
so i made the change. now only some hover links work and some don't. ??

Also, I checked the W3C CSS validator and I got a 'parse error' on a:hover. what does that mean?

FatCodeMonkey
Oct 21st, 2008, 11:30 PM
nevermind. i fixed it. :)