Forum Moderators: open
nav ul li a { color: #99CCFF; ] /*lt blue*/
a, a:link, a:visited {color: #336699; text-decoration: none; background: transparent;}
a:hover, a:active {color: #336699; text-decoration: underline;}
nav {background-color: #336699;}
nav ul li a, nav ul li a:link, nav ul li a:visited {color: #99CCFF;} /*lt blue*/
nav ul li a:hover, nav ul li a:active {color: #FFCC33;} /*orange*/
In other words, this:
a:link
is more specific than this:
nav ul li a
nav a {blahblah} This may depend on browser interpretation
::after
::before
::first-letter
::first-line
::selection
:active
:checked
:default
:dir()
:disabled
:empty
:enabled
:first
:first-child
:first-of-type
:fullscreen
:focus
:hover
:indeterminate
:in-range
:invalid
:lang()
:last-child
:last-of-type
:left
:link
:not()
:nth-child()
:nth-last-child()
:nth-last-of-type()
:nth-of-type()
:only-child
:only-of-type
:optional
:out-of-range
:read-only
:read-write
:required
:right
:root
:scope
:target
:valid
:visited
pseudo-elements are not the same as pseudo-classes