LINK BEHAVIORS - CSS Pseudo Class


Standard Non-Inherited Link Behaviors Set-Up

a:link {color:#333399} /* unvisited link */
a:visited {color:#850000} /* visited link */
a:hover {color:#9933cc} /* mouse over link */
a:active {color:#006633} /* selected link */

Class Inherited Link Behaviors Set-Up

In this example the link is assigned the class navBar, wherein the link, visited & active states will be white, with the hover being a goldenrod.

a.navBar:link, a.navBar:visited, a.navBar:active {color:#FFFFFF}
a.navBar:hover {color:#ffcc66}