Jump to content

a:visited font-style:italic not working in Chrome?


Recommended Posts

Its because of a security issue, where hackers can identify the sites you have visited by a style used for a visited link, link color changes, are still acceptable, font styling, background image changes are apparently not.Note: Newer Firefox(my current version 3.6.12) browser, also have implemented this visited link rule, which does not allow colour change either.Also when assigning styling to anchors use the default setting in the anchor selector only.a {text-decoration: none: font-family: Calibri; padding: 0 10px; }only add the styling that changes to the pseudo classes, in this order.a:link{ color:blue;}a:visited{ color: purple;}a:hover{ color: red; text-decoration: underline;}a:active, a:focus{ color:lime; text-decoration: underline;}/*not reliable to be implement in all browsers i generally use class assigned to link to apply styling*/

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...