[thelist] Oddness with link names...

James Aylard webmaster at equilon-mrc.com
Fri Aug 17 18:59:44 CDT 2001


Janice,

> Why, oh why, does a 'hover' *not* work on the following urls
...
> <a href="http://webserver.ortn.edu">ORS home</a> &#149;
> <a href="http://jms.ortn.edu">Jefferson Middle</a> &#149;
...
> a:link { color: #d9d9d9; text-decoration: none }
> a:hover { color: #d9d9d9; text-decoration: underline }
> a:visited { color: #d9d9d9; text-decoration: none }

    It's actually pretty straightforward: by placing the :visited
pseudo-class after the :hover pseudo-class, you are giving it precedence. In
general, the correct sequence for anchor-related pseudo-classes is:

:link
:visited
:hover
:active

hth,
James Aylard





More information about the thelist mailing list