Lomex Posted April 1, 2003 Share Posted April 1, 2003 #leftmenu { position:absolute; width:150px; top:80px; left:20px; line-height:18px; border: solid 1px silver; background-color:#E5EBF6; padding:5px 5px 5px 5px; z-index:2; } #leftmenu>a:visited { text-decoration:none; } Shouldn't the visited link in the div tag of leftmenu not be underlined after visited or am I doing something wrong??? Link to comment Share on other sites More sharing options...
0 Oogle Posted April 1, 2003 Share Posted April 1, 2003 #leftmenu>a:visited { text-decoration:none; } Shouldn't the visited link in the div tag of leftmenu not be underlined after visited or am I doing something wrong??? What does the HTML look like? Did you try removing the >? Did you try refreshing the page after clicking on the link? Link to comment Share on other sites More sharing options...
0 Lomex Posted April 1, 2003 Author Share Posted April 1, 2003 The html looks like this: <div id="leftmenu"> <div class="section" align="center">menu</div> <br> <a href="#">home</a><br> <a href="#">contacts</a> <hr> <a href="test.htm">test link</a> </div> I'm just testing this so this won't be the "actual" menu... Link to comment Share on other sites More sharing options...
0 Oogle Posted April 1, 2003 Share Posted April 1, 2003 With Mozilla, it looks like it only works if the visit is successful. In other words, the links have to be valid. Haven't tried other browsers... Link to comment Share on other sites More sharing options...
0 Lomex Posted April 1, 2003 Author Share Posted April 1, 2003 #leftmenu>a:visited { color:blue; text-decoration:none; } #leftmenu { position:absolute; width:150px; top:80px; left:20px; line-height:18px; border: solid 1px silver; background-color:#E5EBF6; padding:5px 5px 5px 5px; z-index:2; } The links are valid and everything and still doesn't work... Link to comment Share on other sites More sharing options...
0 Oogle Posted April 1, 2003 Share Posted April 1, 2003 Even after you completely refreshed the page (i.e. flush cache, etc.)? What browser? In any case, your CSS code looks right. Any misbehavior is probably a browser bug. Sorry I couldn't be of any more help. Link to comment Share on other sites More sharing options...
0 Lomex Posted April 1, 2003 Author Share Posted April 1, 2003 yup. I cleaned my history, my cookies, and my cache and still same thing.. i have to create a new class to solve it Link to comment Share on other sites More sharing options...
Question
Lomex
#leftmenu { position:absolute; width:150px; top:80px; left:20px; line-height:18px; border: solid 1px silver; background-color:#E5EBF6; padding:5px 5px 5px 5px; z-index:2; } #leftmenu>a:visited { text-decoration:none; }Shouldn't the visited link in the div tag of leftmenu not be underlined after visited or am I doing something wrong???
Link to comment
Share on other sites
6 answers to this question
Recommended Posts