Bonjour, j'ai un problème sous ie, je veux utiliser un hack pour que internet explorer voit les choses différemment de firefox. Voici mon code :
Mon code html :
Donc ce div doit avoir un margin-top sous firefox mais pas sous IE, le problème est que ie ne considère pas du tout le hack. Le pire c'est que j'ai utilisé ce hack plusieur fois pour d'autres éléments et tout fonctionne.
Quelqu'un a une solution?
Merci
Modifié par Tiger (04 Oct 2005 - 15:53)
* html #tableau18 {
margin-left:40px;
}
#tableau18 {
margin-left:40px;
margin-top:300px;
}
Mon code html :
<div id="tableau18">
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="140" class="center" valign="bottom"><a href="products.html#souvenirmedallions"><img class="noborder" src="images/products/tb/tb_products05.jpg" alt="porcelain medallions" width="74" height="100" /></a></td>
<td width="140" class="center" valign="bottom"><a href="products02.html#plaques"><img class="noborder" src="images/products/tb/tb_products02.jpg" alt="porcelain souvenir plaques" width="78" height="100" /></a></td>
<td width="140" class="center" valign="bottom"><a href="products03.html#framed"><img class="noborder" src="images/products/tb/tb_products35.jpg" alt="framed porcelain souvenir picture" width="102" height="100" /></a></td>
<td width="148" class="center" valign="bottom"><a href="products04.html#stand"><img class="noborder" src="images/products/tb/tb_products17.jpg" alt="souvenir porcelain medallions and plaques on a stand" width="70" height="100" /></a></td>
<td width="132" class="center" valign="bottom"><a href="products05.html#others"><img class="noborder" src="images/products/tb/tb_products42.jpg" alt="others porcelain souvenir products" width="74" height="100" /></a></td>
</tr>
<tr>
<td class="titremenu"><a href="products.html#souvenirmedallions" class="menu3">Porcelain Souvenir Medallions</a></td>
<td class="titremenu"><a href="products02.html#plaques" class="menu3">Souvenir Plaques</a></td>
<td class="titremenu"><a href="products03.html#framed" class="menu3">Framed porcelain souvenir picture</a></td>
<td class="titremenu"><a href="products04.html#stand" class="menu3">Souvenir medallions and plaques on a stand</a></td>
<td class="titremenu"><a href="products05.html#others" class="menu3">Specialties</a></td>
</tr>
</table>
</div>
Donc ce div doit avoir un margin-top sous firefox mais pas sous IE, le problème est que ie ne considère pas du tout le hack. Le pire c'est que j'ai utilisé ce hack plusieur fois pour d'autres éléments et tout fonctionne.
Quelqu'un a une solution?
Merci
Modifié par Tiger (04 Oct 2005 - 15:53)