[CSS] background-image dans un <button>
Salut, j'utilise le style suivant dans un <button> et l'image d'arrière plan ne s'affiche pas dans IE (avec IE 6.0.2900.2181).
Cela fonctionne très bien sous la 2900.2180 et Firefox. Quelqu'un aurait-il des infos là-dessus s'il vous plaît ?
En fait j'utilise 2 styles :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| button#Bold {
background-image: url(../../admin/nletter/images/toolbar/bold.gif);
height: 25px;
width: 25px;
background-repeat: no-repeat;
background-position: center center;
cursor: hand;
}
button.TBar {
cursor:hand;
font-weight:bold;
height: 22px;
width: 22px;
}
<button class="TBar" id="Bold" name="Bold" title="Gras" alt="Gras"></button> |
Merci d'avance