Probleme menu html IE et firefox
bonjour à tous,
j'ai un petit soucis de menu html (simple). Mon problème est que sous Firefox il est comme je veux, alors que sous IE il foire... et je n'arrive pas à trouver le pourquoi du comment.
pour plus de précision, j'utilise Dreamweaver.
voici d abord 2 screens
IE :
http://img17.imageshack.us/img17/6186/sanstitre2pb.jpg
Firefox :
http://img689.imageshack.us/img689/731/sanstitre1nn.jpg
sous IE, on dirait que mon menu va vers le bas...
voici le code html du menu :
Code:
1 2 3 4 5 6 7 8 9
| <div class="texte_normal" id="menu">
<ul class="texte_menu">
<li><a href="contact.html">CONTACT</a></li>
<li><a href="portfolio.html">PORTFOLIO</a></li>
<li><a href="infos.html">INFOS</a></li>
<li><a href="presentation.html">PRESENTATION</a></li>
<li><a href="index.html">ACCUEIL</a></li>
</ul>
</div> |
donc j'ai ma balise div qui s'appelle menu et dedans mes différents éléments
voici le css de dream :
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 27 28 29 30 31 32 33 34 35 36 37 38
| #menu ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
#menu li {
padding-top: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
#menu li a {
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
border-right-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-top-color: #666666;
border-right-color: #666666;
border-bottom-color: #666666;
border-left-color: #666666;
padding-top: 15px;
padding-right: 40px;
padding-left: 40px;
margin-right: 17px;
margin-left: 10px;
text-decoration: none;
display: block;
float: right;
clear: none;
height: 35px;
}
#menu li a:hover {
background-color: #191919;
color: #000000;
border: 1px groove #000000;
} |
j'espère que c'est clair ^^ :) merci d'avances pour votre aide :)