Does Chrome have issue with setting a:visited css properties? Does Chrome have issue with setting a:visited css properties? google-chrome google-chrome

Does Chrome have issue with setting a:visited css properties?


Instead, use the following:

a {   background-color: white;}a:visited{    background-color: red;}

For security reasons -- specifically, in order to prevent history sniffing -- Chrome limits very strictly what can be done using the :visited selector.


Sounds like this is unsupported for security reasons, and will be in Firefox too, as detailed in this answer.