More Link Color Troubles
-
Update: It works in Firefox 0.8, but not in IE6 (my default).
This one is annoying.
I’m playing with the link colors. For the story title I want a and a:visited to be black and to be red on hover. So I did this:
.storytitle a, a:visited {
text-decoration: none;
color: #000000;
}
.storytitle a:hover {
text-decoration: none;
color: #b22222;
}
Ok, that works fine. Now I want the links in my entries to be the opposite, red on a and a:visited and black on hover. So I do this:
.storycontent a, a:visited {
text-decoration: none;
color: #b22222;
}
.storycontent a:hover {
color: #000000;
text-decoration: none;
}
This works too…kinda. It does what it needs to to the entry links, but it also changes the story titles to red, for all of the link types (a, a:visited, a:hover). I take out the storycontent link info, and the other goes back to normal.
Any suggestions?
- The topic ‘More Link Color Troubles’ is closed to new replies.