Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Why does the a:visited CSS style not change anything other than color or background color in Firefox 6? Setting text-decoration and text-transform do not work.

  • 2 réponses
  • 4 ont ce problème
  • 8 vues
  • Dernière réponse par disparprof

more options

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Visited Problem</title> <style type="text/css"> #footer a:link { color: white; background-color: orange; text-transform: uppercase; } #footer a:visited { color: red; background-color: black; text-transform: lowercase; text-decoration: none; } </style>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Visited Problem</title> <style type="text/css"> #footer a:link { color: white; background-color: orange; text-transform: uppercase; } #footer a:visited { color: red; background-color: black; text-transform: lowercase; text-decoration: none; } </style> </head> <body> <div id="footer"> <p><a href="http://www.usatoday.com">USA Today</a></p> </div> </style> </head> <body> <div id="footer"> <p><a href="http://www.usatoday.com">USA Today</a></p> </div>

Toutes les réponses (2)

more options

Solution choisie

Modifié le par cor-el

more options

Mystery solved. Thanks.