phlyingphalcon Posted February 4, 2007 Share Posted February 4, 2007 I'm using the following code to control my links. As long as the linked-to page is not in my history, the hover code works fine. However, if I click on the link though, then go back, my hover code will not work again until I delete the linked-to page from my history. Once I do that, the hover code works again. I've never seen this problem before, and IU can't find a problem with my coding... a:link { color: #000000; font-family: verdana; font-size: 10px; text-decoration: none; }a:hover { color: #ffffff; font-family: verdana; font-size: 10px; text-decoration: none; }a:visited { color: #000000; font-family: verdana; font-size: 10px; text-decoration: none; } -edit- Hmmm, I guess I can't edit the topic title after it's posted. That's what I get for not clicking "preview post"... Link to comment Share on other sites More sharing options...
Rantzien Posted February 4, 2007 Share Posted February 4, 2007 The :visited declaration must come before the :hover declaration to be effective.I think there was something to help you remember the order of the link style declarations, like LoVe HAte (Link, Visited, Hover, Active). Link to comment Share on other sites More sharing options...
phlyingphalcon Posted February 4, 2007 Author Share Posted February 4, 2007 Ok, I'll try that. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now