Welcome to WebmasterWorld Guest from 54.198.78.121
Forum Moderators: not2easy
instead of:
a:link, a:visited, a:hover, a:active
Use
:link :visited :hover :active
However I would just like to make a reference to "arbitrary-hover" [devedge.netscape.com] and from it this quote especially:
In browsers based on Netscape Gecko builds later than 20020410 (Netscape 6.1+), :hover styles can be applied to any element in a document. Thus authors who have used bare pseudo-classes, or bare class-pseudo-class combinations, are at risk for seeing hover styles applied to more than just their links. The most reliable fix is to add the anchor element to the selectors, like this:a:hover {color: red;}
a.nav:hover {color: red;}
Basically using the "bare pseudo class" could cause every element on the page to change it's state on hover, admittedly the article goes on to futher explain that it may not happen in quirks mode, but the possibility is always there.
My advice always add the element to the selector ;) Anyhow for me that makes the code easier to read later
Suzy