I have run my sharepoint web site nder IE F12 developer tools, and the console mentioned the following error at the beginning of my HTML :-
SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
So what is this error ? and how i can fix it ? Thanks
Change only the color attribute for css rules that contains :visited or :link selector
http://msdn.microsoft.com/en-us/library/ie/hh180764%28v=vs.85%29.aspx
This is a security feature. This question also deals with the same issue and contains a link to this page which is a very informative and interesting read.
Basically, :visited
has the potential to pose a serious security risk to users (for example, when used in conjuction with getComputedStyle()
), and consequently browsers severely restrict what you can do with it.
To fix it, remove a:visited from your list of CSS element selectors (traditionally, some stylesheets combine all the a psuedo classes: a:link, a:visited, a:hover, a:active { styles here }
) and style it separately, only applying color.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With