liam1412 Posted December 8, 2006 Share Posted December 8, 2006 HiCan anyone tell me why if I leave my a:visited color as defualt then whne th link is visited the a:hover color still shows, but if I change the a:visited color to my color of chocie then the a:hove doesn't work on rollover.Thanks Quote Link to comment Share on other sites More sharing options...
jcombs_31 Posted December 8, 2006 Share Posted December 8, 2006 post your code Quote Link to comment Share on other sites More sharing options...
liam1412 Posted December 8, 2006 Author Share Posted December 8, 2006 <style type="text/css>a {font-family: "trebuchet ms",verdana; font-size: 12px}a:link {color:"#b5b5b5"}a:visited {color:"#b5b5b5"}a:hover {color:"#ff0000"}</style>So I want the visited link to be the same colour as normal link. But I still want the hover to work. Maybe it is my browser (IE7) that is doing this but I can't see no reason wht it shouldn't.Like I said if I leave a:link and a:visited as the defaults then the hover still works regardless of wether the link is visited or not.????? But of a puzzler for me. Quote Link to comment Share on other sites More sharing options...
liam1412 Posted December 8, 2006 Author Share Posted December 8, 2006 My typing is appauling - No wonder all my code takes 10 re reads before it works. ;D Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted December 8, 2006 Share Posted December 8, 2006 <style type="text/css>a{font-family: "trebuchet ms", verdana;font-size: 12px;color: #b5b5b5}a:hover{color: #ff0000;}</style>Should do the trick; I would advise using a better set of fonts though! Quote Link to comment Share on other sites More sharing options...
liam1412 Posted December 8, 2006 Author Share Posted December 8, 2006 As if i didn't think of not needing to declare my a:visited seperate. My My I am having a numpty day. Can only mean one thing. 37 hours at my desk looking at a compurter screen as taken its toll. Thank god its the weekend. Mind you im only going to go home and work on my web site some more!!!!!Thanks for thatLiam Quote Link to comment 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.