a:visited function works fine on my IE but not on mozilla. It has no effect on Mozilla. Css class is
ul#menu1 li a:link, a:visited {
display: block; height: 18px; padding: 5px 0 6px 15px;
text-decoration: none; clear: both; color: #666;
}
The
visitedstyle has been removed from Firefox (and most other browsers) in recent versions due to a security issue with it.The problem is that a malicious web site could work out your browsing history by using it – they would set a
visitedcolour, produce a load of URLs (even hidden ones so the user doesn’t know about it), and check their colour. It caused quite a bit of noise in browser security circles a couple of years ago.The
visitedfeature can be switched back on again in Firefox, by going to the security preferences, but it is disabled by default, and most users will have it switched off.See here for more info on the problem and how Firefox went about fixing it: http://blog.mozilla.com/security/2010/03/31/plugging-the-css-history-leak/