Country
dimanche 25 septembre 2005 à 14:12
CITATION(jeanpierre949 @ dimanche 25 septembre 2005, 08h25)
Bonjour.
Le code css ne marche pas avec IE sauf sur les liens si tu n'as pas de href pas de roll-over
En effet, mais ici l'effet est appliqué à des liens donc pas de problèmes

Exemple d'application de l'effet roll-over :
CODE
#bouton { width:206px; }
#bouton a:link, #bouton a:visited {
display:block;
height:44px; /* Hauteur de l'image */
text-indent:-9000px; /* Cache le texte du lien */
text-decoration:none;
background:url(entrez.gif) no-repeat;
}
#bouton a:hover, #bouton a:active {
background-position:0 -44px;
}
CODE
<div id="bouton"><a href="index2.html">Entrez</a></div>
Et l'image entrez.gif :
http://img381.imageshack.us/img381/2420/entrez7iz.gif