CSS : Link Selector & Link Styling Order

Posted by: Ping

The order of link styles in the code matters. If they are out of order they may not work properly. The correct top to bottom order should always be:
1. a:link (a)
2. a:visited
3. a:hover
4. a:active
(they control the entire linking system except those inside the navigation div)

CSS Reference & Properties