Probleme affichage UL LI menu sur opera et firefox.
Posté : 28 déc. 2008, 11:22
Salut,
Voila mon code css :
HTML :
Or voilà ce que ça fait :
Mince, inversé firefox et opéra sur l'image =), c'est opéra qui me laisse du gris a droite.

Donc j'ai l'impression que Opéra affiche le tout en plus petit et ne respecte pas les tailles des blocks.
J'ai d'abord pensé que c'était un problème de taille de texte mais en fait nan pas du tout.
Merci !
Voila mon code css :
Code : Tout sélectionner
#menu_haut {
width:850px;
height:20px;
background-color: #3A3A3A;
margin-left:auto;
margin-right:auto;
border-left: solid #01A9C6 4px;
border-right: solid #01A9C6 4px;
border-bottom: solid #01A9C6 4px;
border-top: solid #01A9C6 3px;
}
#menu_haut ul {
padding: auto;
color: #FFF;
line-height: 20px;
white-space: nowrap;
text-align: center;
padding-bottom: 10px;
}
#menu_haut li {
list-style-type: none;
display: inline;
float: left;
}
#menu_haut a {
width:141.7px;
height:20px;
font-family: "Comic sans ms";
background-color:#3A3A3A;
color:#FFF;
text-decoration:none;
display:block;
text-align: center;
line-height: 20px;
}
#menu_haut a:hover {
width:141.7px;
height:20px;
color:#000;
text-decoration:underline;
background-color: #01D7FB;
display:block;
text-align: center;
line-height: 20px;
}
Code : Tout sélectionner
<ul id="menu_haut">
<li><a href="index.php">Accueil</a></li>
<li><a href="index.php?page=dl">Downloads</a></li>
<li><a href="index.php?page=list_serv">Nos serveurs</a></li>
<li><a href="index.php?page=tutos">Leçons</a></li>
<li><a href="index.php?page=team">La team</a></li>
<li><a href="index.php?page=pub">Pub</a></li>
</ul>
Mince, inversé firefox et opéra sur l'image =), c'est opéra qui me laisse du gris a droite.

Donc j'ai l'impression que Opéra affiche le tout en plus petit et ne respecte pas les tailles des blocks.
J'ai d'abord pensé que c'était un problème de taille de texte mais en fait nan pas du tout.
Merci !
en haut à gauche de ce sujet.