Pb affichage sous ie image background sous menu li

Pb affichage sous ie image background sous menu li - HTML/CSS - Programmation

Marsh Posté le 25-07-2007 à 11:08:21    

Bonjour,
J'ai un souci sous IE (hum) concernant l'affichage d'une image d'arrière plan.
En fait, sous Firefox pas de souci, le fond s'affiche. sous IE par contre, il faut à tout prix faire fonctionner le hover pour que le fond s'affiche !
 
Si quelqu'un a une solution, je prends ! (mon site doit être en ligne ce soir...)
 
Voici mon code HTML :
<div id="ref">
  <ul class="ref">
  <li><a href="hotels.htm">Hôtels & Palaces</a></li>    
  <li><a href="univers.htm">L'Univers du Sommeil</a></li>
  <li><a href="carreblanc.htm">Linge de Maison</a></li>
  <li><h3>Thalassothérapie</h3></li>
  </ul>
</div>
<div id="prod">  
<ul class="prod">  
  <li><a href="ambiance.htm">Parfum d'ambiance</a></li>
  <li><a href="bienetre_beaute.htm">Bain Soin Beauté</a></li>
  <li><a href="bienetre_coffrets.htm">Les Coffrets</a></li>
  <li><a href="bienetre_gifts.htm">Les gifts</a></li>
</ul>
</div>
 
Et CSS :
#ref {
 background-image: url(images/bienetre/fond_ref_prod.jpg);
 height: 420px;
 width: 150px;
 position: absolute;
 left: 300px;
 top: 0px;
 background-repeat: no-repeat;
 list-style-type: none;
 float: left;
}
 
.ref li {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 font-weight: bold;
 text-align: left;
 list-style-type: none;
 padding-top: 30px;
 margin: 5px 0px 0px;
}
 
.ref a:link {
 font-weight: bold;
}
.ref a:visited {
 color: #333333;
 font-weight: bold;
}
 
Merci d'avance,

Reply

Marsh Posté le 25-07-2007 à 11:08:21   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed