I want the links within a DIV class to override the definitions for links on the remainder of the page (dark background issue). This doesn't work: .myclass { font-size:x-small; font-weight:bold; color:white} a.myclass:link {color:white} a.myclass:visited {color:white} a.myclass:hover {color:red} a.myclass:active {color:red} Code (markup): The font properties, including color, in the first line work fine but the link properties do not override those defined for the page. How can I do this?
.myclass { font-size:x-small; font-weight:bold; color:white} .myclass a:link {color:white} .myclass a:visited {color:white} .myclass a:hover {color:red} .myclass a:active {color:red} Code (markup):