Pour une raison quelconque ce site affiche bien dans tous les navigateurs, mais IE6. Dans IE6 la navigation supérieure ne présente pas du tout ... Toute aide serait appréciée:#Nav ne s'affiche pas dans IE6
J'ai placé le code ci-dessous (je devais prendre urls image pour poster):
<div id="nav">
<ul>
<li class="floatLeft" id="contact">Contact</li>
<li id="about">About</li>
<li id="resume">Resume</li>
<li class="floatLeft" id="work">Work</li>
</ul>
</div>
I J'utilise aussi une feuille CSS avec les définitions suivantes:
#nav {
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
height: 50px;
width: 214px;
position: absolute;
text-decoration: none;
list-style-type: none;
left: 780px;
right: auto;
margin: 0px;
padding: 0px;
top: 52px;
z-index: 800;
zoom: 1;
}
#nav ul {
margin: 0px;
padding: 0px;
list-style-type: none;
display: block;
}
#nav ul li {
float: left;
overflow: hidden;
text-decoration: none;
padding: 0px;
text-indent: -9000px;
margin-top: 0px;
margin-right: 10px;
margin-bottom: 0px;
margin-left: 0px;
}
#nav ul a {
display: block;
}
#nav #contact a {
background-position: left top;
width: 43px;
background-repeat: no-repeat;
background-image: url();
height: 50px;
text-decoration: none;
}
#nav #about a {
width: 44px;
background-image: url();
background-repeat: no-repeat;
height: 50px;
background-position: left top;
text-decoration: none;
}
#nav #resume a {
background-repeat: no-repeat;
height: 50px;
width: 43px;
text-decoration: none;
background-image: url();
}
#nav #work a {
background-repeat: no-repeat;
width: 44px;
background-image: url();
height: 50px;
background-position: left top;
text-decoration: none;
}
IE6 est l'homme mort .. –
Malheureusement, ce n'est pas toujours. Bien que je ne supporte pas IE6 beaucoup dans mes propres affaires, quand je fais quelque chose d'entreprise et d'entreprise, c'est toujours une exigence. –