|
pageoneresults -> RE: Coding links (6/12/2003 18:58:15)
|
The correct order should be... LVHA a:link a:visited a:hover a:active If the a:active becomes before a:hover, the a:active rule will not work. Also, you could trim your above example to this... a{text-decoration:none;} a:link, a:visited{color:orange;background:none;} a:hover{color:white;background:none;} a:active{color:red;background:none;} (or whatever combination you are using) Anytime you specify a color, there should also be a background color whether it is an actual color, none, or transparent, you' ll need it to validate your CSS 100%. Also, adding a background color adds a little bit of flavor to your link text. ;) P.S. Everyone should start getting into the habit of using all lower case in their stylesheets and their html coding.
|
|
|
|