otuatail Posted May 6, 2008 Share Posted May 6, 2008 I am having problems with Visited links. I want them to stay blue text-decoration:none even when visited. The site is http://www.des-otoole.co.uk/Test/ And the style sheet section is /* Side Menu Tabs */ .navigation { position:absolute; left:0em; top:15em; width:5em; background-image: url(../images/screen2.gif); padding-top:1em; text-decoration: none; } ul.tabnav, ul.tabnav li { margin: 0; padding: 0; } ul.tabnav li { margin-left: 0.2em; margin-top: 0em; } .tabnav { height: 20px; margin: 0px; padding-left: 2px; } .tabnav li { margin: 0px; padding: 0px; width:8em; display:list-item; list-style-type: none; font-family:times new roman; font-weight: bold; font-size: 1.2em; line-height: 1em; color: #D2CDC8; text-decoration: none; } .tabnav a:link, .tabnav a:visited { color:0000FF; margin-right: 8em; text-decoration: none; font-family:times new roman; } .tabnav a:link.active, .tabnav a:visited.active { color:00FF00; } .tabnav a:hover { color: #f4f40b; } Link to comment https://forums.phpfreaks.com/topic/104431-solved-visited-link/ Share on other sites More sharing options...
rhodesa Posted May 6, 2008 Share Posted May 6, 2008 change your last three css blocks to: .tabnav a { color:0000FF; margin-right: 8em; text-decoration: none; font-family:times new roman; } .tabnav a.active { color:00FF00; } .tabnav a:hover { color: #f4f40b; } Link to comment https://forums.phpfreaks.com/topic/104431-solved-visited-link/#findComment-534594 Share on other sites More sharing options...
otuatail Posted May 6, 2008 Author Share Posted May 6, 2008 No. Tried that. It hasn't worked. .tabnav a { color:0000FF; margin-right: 8em; text-decoration: none; font-family:times new roman; } .tabnav a.active { color:00FF00; } .tabnav a:hover { color: #f4f40b; } Link to comment https://forums.phpfreaks.com/topic/104431-solved-visited-link/#findComment-534649 Share on other sites More sharing options...
rhodesa Posted May 6, 2008 Share Posted May 6, 2008 oh...duh....your color properties need # signs: .tabnav a { color:#0000FF; margin-right: 8em; text-decoration: none; font-family:times new roman; } .tabnav a.active { color:#00FF00; } .tabnav a:hover { color: #f4f40b; } Link to comment https://forums.phpfreaks.com/topic/104431-solved-visited-link/#findComment-534662 Share on other sites More sharing options...
otuatail Posted May 6, 2008 Author Share Posted May 6, 2008 Thanks. Can't beleive I missed that one. Desmond. Link to comment https://forums.phpfreaks.com/topic/104431-solved-visited-link/#findComment-534671 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.