Domcsore Posted April 13, 2010 Share Posted April 13, 2010 Now I'm not entirely sure if I'm doing this right but I have: #topnav li a:active{ color: #000; text-decoration:none; background-image:none; background: #FFF; } And when I click the link the background does go white but I want it to stay white. Any solutions? Quote Link to comment https://forums.phpfreaks.com/topic/198451-active-link-issues/ Share on other sites More sharing options...
premiso Posted April 13, 2010 Share Posted April 13, 2010 I think you would want the a:visited anchor tag as well. This sets the color to links that have been visited. http://www.ist.rit.edu/~jxs/classes/2005_Spring/320/examples/anchors.html Quote Link to comment https://forums.phpfreaks.com/topic/198451-active-link-issues/#findComment-1041342 Share on other sites More sharing options...
Domcsore Posted April 14, 2010 Author Share Posted April 14, 2010 Ah thanks very much =) Quote Link to comment https://forums.phpfreaks.com/topic/198451-active-link-issues/#findComment-1041362 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.