peddel Posted August 27, 2008 Share Posted August 27, 2008 What i want is pretty simple. I made a webbased application full of forms and such. Here and there are some links that person needs to click to go to another website. Now the thing is, when a person has clicked the link, the next time he visits the page, the link gets the "been selected" (dark blue) color. Is there a way to make sure this doesnt happen? Cheerz and thx in advance ! Peddel Quote Link to comment https://forums.phpfreaks.com/topic/121544-solved-making-links-not-go-dark/ Share on other sites More sharing options...
Mchl Posted August 27, 2008 Share Posted August 27, 2008 use a:visited class More: http://www.echoecho.com/csslinks.htm Quote Link to comment https://forums.phpfreaks.com/topic/121544-solved-making-links-not-go-dark/#findComment-626812 Share on other sites More sharing options...
peddel Posted August 27, 2008 Author Share Posted August 27, 2008 well i got a CSS file i am using BUT when i try to do this it doesnt work : Look at the bottom of my CSS file ! body { background-color:#FFFFFF; margin-left:0px; margin-top:0px; margin-right:0px; margin-bottom:0px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10pt; color:#333333; } td.hoofdtitel{ padding-left:5px; font-weight:bold; height:18px; width:100%; background-color:#FFE9C1; } td.tekstvak{ height:100px; background-color:#FFF4DD; padding:3px; vertical-align:top; } td.kortvak{ background-color:#FFF4DD; padding:3px; vertical-align:middle; } td.fotokolom{ height:90px; width:214px; vertical-align:bottom; } td.fotokolom2{ height:90px; } td.opvul1{ padding-left:5px; font-weight:bold; height:18px; width:214px; background-color:#FFE9C1; } td.opvul2{ padding:3px; vertical-align:top; height:100px; width:214px; background-color:#FFF4DD; } td.boord1{ height:64px; width:100%; } td.boord2{ height:5px; width:100%; background-color:#EFEFEF; } td.boord3{ height:20px; width:100%; background-color:#DCDCDC; } td.boord4{ height:1.75px; width:100%; } a.opmaak1{ A:visited{text-dexoration: none}; } U can see the "opmaak1" for a link types. My program says the syntax is wrong. I want it just to stay as it is should be in the link type another helping answer? Quote Link to comment https://forums.phpfreaks.com/topic/121544-solved-making-links-not-go-dark/#findComment-626821 Share on other sites More sharing options...
Mchl Posted August 27, 2008 Share Posted August 27, 2008 Try a.opmaak1:visited{ text-dexoration: none; } Not sure if it will work... [edit] Or perhaps .opmaak1 a:visited {} Quote Link to comment https://forums.phpfreaks.com/topic/121544-solved-making-links-not-go-dark/#findComment-626823 Share on other sites More sharing options...
lonewolf217 Posted August 27, 2008 Share Posted August 27, 2008 you can do this in the body tag of html if you want (i dont know CSS well enough) <body alink="blue" vlink="blue"> just switch it out for whatever color code you want Quote Link to comment https://forums.phpfreaks.com/topic/121544-solved-making-links-not-go-dark/#findComment-626826 Share on other sites More sharing options...
peddel Posted August 27, 2008 Author Share Posted August 27, 2008 thx i managed to fix it Quote Link to comment https://forums.phpfreaks.com/topic/121544-solved-making-links-not-go-dark/#findComment-626834 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.