CSS and links

When modifying the appearance of your links using CSS you should add a:link, a:visited, a:focus, a:hover, a:active in the order I listed and to make it easier to remember the order to add them to the style sheet you might find this phrase "Lord Vader's Former Handle Anakin" useful.

Example
a:link { color: #FF00FF; }
a:visited { color: #FFFF00; }
a:hover { color: #00FFFF; }
a:focus { color: #0000FF; }
a:active { color: #FF0000; }

No comments: