tom742617000027 0 Posted February 1, 2006 Report Share Posted February 1, 2006 a:link{text-decoration:none; color: #000000}a:visited{text-decoration:line-through; color:#000000}a:hover{text-decoration:none; background:#cccccc; color#000000}a:active{text-decoration:line-through; background:#cccccc; color:#000000}This is my CSS for the links in my website. There will appear a grey background on mouseover and a strikethrough when the links is clicked and has been clicked. Unfortunately this strikethrough effect remains forever. Even when the visitor shut down his/her browser and visties my website again. How is this possible and can there be something done about this? I really appreciate your help. Quote Link to post Share on other sites
real_illusions 0 Posted February 1, 2006 Report Share Posted February 1, 2006 a:visited{text-decoration:none; color:#000000}visited means, when they've clicked on it, and stays that way. Quote Link to post Share on other sites
Jonas 151 Posted February 1, 2006 Report Share Posted February 1, 2006 Until they delete their log, that is. Quote Link to post Share on other sites
Eric 1 Posted February 1, 2006 Report Share Posted February 1, 2006 Until they delete their log, that is.<{POST_SNAPBACK}> I thought the "offical" term was cookies and cache Quote Link to post Share on other sites
aspnetguy 30 Posted February 1, 2006 Report Share Posted February 1, 2006 I thought the "offical" term was cookies and cashe <{POST_SNAPBACK}> cache not cashe...sorry I had too. Quote Link to post Share on other sites
Eric 1 Posted February 1, 2006 Report Share Posted February 1, 2006 Spelling doesn't count Quote Link to post Share on other sites
aspnetguy 30 Posted February 1, 2006 Report Share Posted February 1, 2006 ok ok Quote Link to post Share on other sites
Jonas 151 Posted February 1, 2006 Report Share Posted February 1, 2006 I thought the "offical" term was cookies and cache <{POST_SNAPBACK}> Eh, I'm norwegian. Give me a break. Quote Link to post Share on other sites
tom742617000027 0 Posted February 2, 2006 Author Report Share Posted February 2, 2006 Yes, I was aware of all that and thanks for the help. But is there no way to auto-erase the cache? Just your own site, so it will seem like it was not visited before? Quote Link to post Share on other sites
Jonas 151 Posted February 2, 2006 Report Share Posted February 2, 2006 <meta http-equiv="cache-control" content="no-cache"/>I think that might work...http://www.w3schools.com/tags/tag_meta.asp Quote Link to post Share on other sites
tom742617000027 0 Posted February 2, 2006 Author Report Share Posted February 2, 2006 Unfortunately, that doesn't work. The refresh meta tag doesn't work either. Well, I really don't know what to do anymore. Noone knows a solution, no mather what forum I try. Is it so that there is not a single way to establish this? Quote Link to post Share on other sites
real_illusions 0 Posted February 2, 2006 Report Share Posted February 2, 2006 try this <meta http-equiv="expires" content="0"> Quote Link to post Share on other sites
Eric 1 Posted February 2, 2006 Report Share Posted February 2, 2006 Why is it so important to you that a:visited has a strikethrough, but yet you don't want it to stay?Bottomline, whatever you give to a:visited will STAY long after they click it. Just deal with it. Quote Link to post Share on other sites
aspnetguy 30 Posted February 2, 2006 Report Share Posted February 2, 2006 The :visted means that the user has visit that link since the last time the browser flushed it's cache.If you do not want the strike through to stay then you should not put it on the :visited...you are defeatring hte purpose of the :visited by not wanting the styles to stay.Put the stike through on :hover or somewhere else. Quote Link to post Share on other sites
tom742617000027 0 Posted February 2, 2006 Author Report Share Posted February 2, 2006 Okey, got it. I wanted this so bad, because I am a graphic designer, not a websitebuilder and I really wanted this trick to happen. i didn't know it just can't be done. Sorry for wasting your time and thanks for the many possible solutions. i will change my design. Quote Link to post Share on other sites
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.