[thelist] Re: CSS - a:hover and a:visited

Sharon F. Malone sfmalo at 24caratdesign.com
Thu Jul 25 16:53:01 CDT 2002

On Thursday, July 25, 2002 2:03 PM, Nathan responded to FayeC:

> >Can anybody tell me what is the rules or ordering for a:hover
>> and all the other a: in css?

> Take a look here, and make sure you pay attention to the
> order of the classes
> http://www.w3schools.com/css/css_pseudo_classes.asp

Right, Nathan. This question (order) has been asked on occasion throughout the several months I've been a part of thelist. The conclusion was a:link, a:visited, a:hover, and a:active. Others have specified placing a:hover at the bottom of (or 4th in) the list. I have found the only way to get consistent results was to place a:hover in 3rd position (as specified by w3schools and other sources).

If you leave out a:active altogether, then you won't get much action in NN4.x 'cause it doesn't read a:hover. However, N6.2.3 ~does~ read it and I presume N7 as well.

Sharon F. Malone
"web design and Internet writing services"
sfmalo at 24caratdesign.com

More information about the thelist mailing list