Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS a:link proble Reply To: a:link proble

#237306
Atelierbram
Participant

Have been browsing with history turned off for ever (like many webdevelopers do; in order to keep some sanity). For this reason we are seeing different things when looking at visited links styled in the way you described.

To be honest, for me this is a non-issue, since I don’t style a:link separately at all, and also omit styling visited links: just let them inherit from the a link-styles. Helps with specificity too. Something like this:

a {
  text-decoration: none;
  color: crimson;
}
a:hover,
a:active {
  text-decoration: underline;
  color: darkred;
}