J'ai fait un test sur mon serveur et ça fonctionne très bien:
Voici mon fichier de style:
Code :
a.link
{
font-family: Arial;
font-size: 70%;
text-decoration: none;
}
a.link:link
{
color: black;
}
a.link:visited
{
color: black;
}
a.link:hover
{
color: red;
}
a.link:active
{
color: black;
}
Sur le site que je t'ai donné, il donne l'explication:
Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!!
Note: a:active MUST come after a:hover in the CSS definition in order to be effective!!