Liens externes avec icônes pas d'affichage sous IE
Bonjour :)
Je suis actuellement ce tuto pour afficher une icône à coté d'un lien externe.
Voici le code html:
Code:
<a class="ExtLink" href="http://www.openbsd.org/">OpenBSD <span>(external link)</span></a>
Le code CSS:
Code:
1 2 3 4 5
| a.ExtLink span { width:4000px; position:absolute; left:-5000px; }
a.ExtLink:link { background: url(../../inc/img/ExtLink.png) no-repeat 100% 0; padding: 0 10px 0 0; }
a.ExtLink:visited { background: url(../../inc/img/ExtLink.png) no-repeat 100% -13px; padding: 0 10px 0 0; }
a.ExtLink:hover { background: url(../../inc/img/ExtLink.png) no-repeat 100% -26px; padding: 0 10px 0 0; }
a.ExtLink:active { background: url(../../inc/img/ExtLink.png) no-repeat 100% -39px; padding: 0 10px 0 0; } |
Sous Mozilla Firefox, les icônes s'affichent mais pas sous IE 7 :oops:
Un petit coup de main s'il vous plaît ?
Merci :mrgreen: