I have successfully tested visited link effect on a tag for XHTML document.
But those visited link highlight with green color could not removed when I refresh the
address bar on my browser except I click clear up all browser cache and history on every browser. So the question is how to reset all css when click browser refresh button without clear up browser cache and history ?
So for my site I need to do something with php code to delete all cookie or history about those site I visited , Right ?
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
<html xmlns=http://www.w3.org/1999/xhtml lang=en-US>
<head>
<style>
#checkvisited{width:730px;margin-left:0px;}
#checkvisited td a{text-decoration:none;color:gray;}
#checkvisited td a:link{color:gray}
#checkvisited td a:hover{text-decoration:underline}
#checkvisited td a:active{background-color:#DEB887}
#checkvisited td a:visited{color:green}
</style>
</head>
<body><div id='checkvisited'>
<table><td><a href=http://yahoo.com >AA</a></td><td><a href=http://yahoo.com? a=1>BB</a></td>
</table></div></body></html>