Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Why doesn't current version of Firefox handle a background image on the :visited pseudo class?

  • 1 antwoord
  • 4 hebben dit probleem
  • 2 weergaven
  • Laatste antwoord van cor-el

more options

I teach a fundamental web design class using HTML and CSS. We were playing with links and I set up an example where a check mark would be displayed as a background image for the :visited pseudo class using embedded CSS. It worked on an older version of Firefox. It does not work on newer versions. It does work current versions of IE and Opera.

I've included the code I used.

I teach a fundamental web design class using HTML and CSS. We were playing with links and I set up an example where a check mark would be displayed as a background image for the :visited pseudo class using embedded CSS. It worked on an older version of Firefox. It does not work on newer versions. It does work current versions of IE and Opera. I've included the code I used.

Gekozen oplossing

That is a security measure.
You can only use very limited styles for :visited and background image is not included.

See:


a:visited {padding-left: 20px;
background-image:url(purplecheck.gif);
background-repeat:no-repeat;
text-decoration:none;}
Dit antwoord in context lezen 👍 1

Alle antwoorden (1)

more options

Gekozen oplossing

That is a security measure.
You can only use very limited styles for :visited and background image is not included.

See:


a:visited {padding-left: 20px;
background-image:url(purplecheck.gif);
background-repeat:no-repeat;
text-decoration:none;}