ChocolateTeapot Posted April 25, 2005 Share Posted April 25, 2005 How do I change the colour of the hyperlinks in the left and right columns independently of other hyperlinks? My left and right columns have a dark background and therefore need a white text and everything else is white so needs a dark text colour. I can see that the A style controls the hyperlink text. How do I create a new style for the box hyperlinks, what do I call it and how do I apply it? Any help would really be appreciated. Thanks. Link to comment Share on other sites More sharing options...
Wendy James Posted April 26, 2005 Share Posted April 26, 2005 In your stylesheet add a new link class for .infoBoxNoticeContents Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
ChocolateTeapot Posted April 26, 2005 Author Share Posted April 26, 2005 I've tried adding A.infoBoxNoticeContents { color: #FFFFFF; } A.infoBoxNoticeContents:hover { color: #FFFFFF; } to the stylesheet but I'm still getting the results for A { color: #FF9933; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; } I've tried adding an A. class for all infobox classes but none of them work. Link to comment Share on other sites More sharing options...
ChocolateTeapot Posted April 26, 2005 Author Share Posted April 26, 2005 I've also tried .boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } a:link, a:visited {color: #FFFFFF;} a:hover {color: #AABBDD;} which has worked, but overridden A { color: #FF9933; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; } So I'm back to my original problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.