I am unable to set the background color for a :visited hyperlink to a different background-color.
Is this a known issue for Google Chrome? I have seen people raising similar issue with background-image. Setting the color attribute seems to be working fine.
This is the code that I used:
a:visited{
background-color: red;
}
Instead, use the following:
For security reasons — specifically, in order to prevent history sniffing — Chrome limits very strictly what can be done using the :visited selector.