Bonjour,
le deuxieme background image qui est en orange ne prend pas le meme width et height que celle en gris, voici le code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| .Category {
background-image:url(../images/bg_category.gif);
height:24px;
width:163px;
}
.Category a:visited {
background-image:url(../images/bg_category_over.gif);
background-image:inherit;
height:24px;
width:163px;
}
.Category a:link {
color:#514E4C;
font-family:"Arial Narrow";
font-size:13px;
text-decoration:none;
padding-left:30px;
}
.Category a:visited {
color:#FFFFFF;
font-family:"Arial Narrow";
font-size:12px;
font-weight:bold;
text-decoration:none;
padding-left:30px;
} |
partie affichage
<div class="Category"><a href="#"></a></div>
merci davance :Hola:
Partager