Can someone please explain how to tell when the following should be
used:

a:link or a.link
a:hover or a.hover
a:visited or a.visited
a:active or a.active

-----------------------

You should be using the first option in each of those choices as they
use the link related pseudo-classes, the second option in each of your
examples would refer to an anchor tag with a class of link, hover, etc
(as in <a href="#" class="hover">)


These articles by Eric Meyer should help explain a whole lot more about
the correct order:

http://meyerweb.com/eric/css/link-specificity.html
http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
/

Hope that helps,

James
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to