tom742617000027 Posted February 1, 2006 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. Link to comment Share on other sites More sharing options...
real_illusions Posted February 1, 2006 Share Posted February 1, 2006 a:visited{text-decoration:none; color:#000000}visited means, when they've clicked on it, and stays that way. Link to comment Share on other sites More sharing options...
Jonas Posted February 1, 2006 Share Posted February 1, 2006 Until they delete their log, that is. Link to comment Share on other sites More sharing options...
Eric Posted February 1, 2006 Share Posted February 1, 2006 Until they delete their log, that is.<{POST_SNAPBACK}> I thought the "offical" term was cookies and cache Link to comment Share on other sites More sharing options...
aspnetguy Posted February 1, 2006 Share Posted February 1, 2006 I thought the "offical" term was cookies and cashe <{POST_SNAPBACK}> cache not cashe...sorry I had too. Link to comment Share on other sites More sharing options...
Eric Posted February 1, 2006 Share Posted February 1, 2006 Spelling doesn't count Link to comment Share on other sites More sharing options...
aspnetguy Posted February 1, 2006 Share Posted February 1, 2006 ok ok Link to comment Share on other sites More sharing options...
Jonas Posted February 1, 2006 Share Posted February 1, 2006 I thought the "offical" term was cookies and cache <{POST_SNAPBACK}> Eh, I'm norwegian. Give me a break. Link to comment Share on other sites More sharing options...
tom742617000027 Posted February 2, 2006 Author 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? Link to comment Share on other sites More sharing options...
Jonas Posted February 2, 2006 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 Link to comment Share on other sites More sharing options...
tom742617000027 Posted February 2, 2006 Author 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? Link to comment Share on other sites More sharing options...
real_illusions Posted February 2, 2006 Share Posted February 2, 2006 try this <meta http-equiv="expires" content="0"> Link to comment Share on other sites More sharing options...
Eric Posted February 2, 2006 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. Link to comment Share on other sites More sharing options...
aspnetguy Posted February 2, 2006 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. Link to comment Share on other sites More sharing options...
tom742617000027 Posted February 2, 2006 Author 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now