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? 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 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 =) Link to comment https://forums.phpfreaks.com/topic/198451-active-link-issues/#findComment-1041362 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.