Alguez
Habitué
Bonjour a tous, j'ai un probleme en css/html pour effectuer un :hover et :active sur un background (donc une ligne de tableau), mon code fonctionne sur FireFox mais IE6...(crotte de chien se prog)
voici mon code html:
[cpp]
<TABLE WIDTH="162" CELLPADDING="0" CELLSPACING="0">
<TR><TD HEIGHT="28" CLASS="menu-haut">Titre</TD></TR>
<TR><TD HEIGHT="28" CLASS="menu"> </TD></TR>
<TR><TD HEIGHT="28" CLASS="menu"> </TD></TR>
<TR><TD HEIGHT="28" CLASS="menu-bas"> </TD></TR>
</TABLE>
[/cpp]
et voici ma page css concerné:
[cpp]
.menu-haut {
background-image: url(images/menutop.jpg);
background-repeat: no-repeat;
}
.menu-bas {
background-image: url(images/menubottom.jpg);
background-repeat: no-repeat;
}
.menu {
background-image: url(images/button_normal.png);
background-repeat: no-repeat;
}
.menu:hover {
background-image: url(images/button_over.png);
background-repeat: no-repeat;
}
.menu:active {
background-image: url(images/button_selected.png);
background-repeat: no-repeat;
}
[/cpp]
Avez-vous une solution pour que se "fichu" IE6 fonctionne avec se que je veus faire (qui est un background).
Merci a tous
voici mon code html:
[cpp]
<TABLE WIDTH="162" CELLPADDING="0" CELLSPACING="0">
<TR><TD HEIGHT="28" CLASS="menu-haut">Titre</TD></TR>
<TR><TD HEIGHT="28" CLASS="menu"> </TD></TR>
<TR><TD HEIGHT="28" CLASS="menu"> </TD></TR>
<TR><TD HEIGHT="28" CLASS="menu-bas"> </TD></TR>
</TABLE>
[/cpp]
et voici ma page css concerné:
[cpp]
.menu-haut {
background-image: url(images/menutop.jpg);
background-repeat: no-repeat;
}
.menu-bas {
background-image: url(images/menubottom.jpg);
background-repeat: no-repeat;
}
.menu {
background-image: url(images/button_normal.png);
background-repeat: no-repeat;
}
.menu:hover {
background-image: url(images/button_over.png);
background-repeat: no-repeat;
}
.menu:active {
background-image: url(images/button_selected.png);
background-repeat: no-repeat;
}
[/cpp]
Avez-vous une solution pour que se "fichu" IE6 fonctionne avec se que je veus faire (qui est un background).
Merci a tous