Bonsoir,
En fait, je pense que ce sont les deux petits rubans qui mettent IE6 en folie,
Juste une piste ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>Test</title>
<style>
* {
margin:0;
padding:0;
}
/*html,body {
width:100%;
height:100%;
}*/
html {
background:#918d90 url(images/fond.gif) repeat-x left top;
}
body {
color:#000;
font:normal 0.95em/1.2em Verdana,"Trebuchet MS",Arial,sans-serif;
background:url(images/mur.jpg) repeat-x -15px top;
}
img.noflot {
display:block;
margin:auto;
}
.clear {
font-size:1px;
height:0;
clear:both;
}
a img{
border: 0;
}
a:active,a:visited,a:link {
color:#00b72f;
font-weight:bold;
text-decoration:none;
}
a:hover {
color:#068570;
text-decoration:none;
}
#container {
position:relative;
top:25px;
width:760px;
margin:0 auto 25px;
border:2px solid #00b72f;
border-width:1px 3px 3px 1px;
background:#fff;
}
#header {
position: relative;
width:740px;
height:135px;
margin:10px auto;
border:1px dashed #00b72f;
background-color:#fff;
}
#header #band {
position:relative;
border:0;
padding:5px 0 0;
background:none;
width:740px;
height:125px;
}
#header #rubg,#header #rubd {
padding:0;
border:none;
background:transparent;
z-index:15;
}
#ruban{
width:900px;
height: 88px;
position: absolute;
left: 50%;
margin-left: -450px;
top: -50px;
z-index:150;
}
#rubg {
float: left;
}
#rubd {
float: right;
}
</style>
</head>
<body>
<div id="container">
<div id="header">
<div id="ruban">
<img id="rubg" alt="" src="rubang.gif" width="135" height="88" />
<img id="rubd" alt="" src="ruband.gif" width="133" height="88" />
</div>
<p id="band" ><a title="Accueil" href="#" ><img src="header.jpg" class="noflot" alt="s.a.r.l. RIGOIN" /></a></p>
</div>
<div id="menu">
<div id="navcontainer">
<ul id="navlist">
<li><a id="mhome" title="Accueil" href="index.html">Accueil</a></li>
<li><a id="mneuf" title="Constructions neuves" href="neuf.htm">Constructions neuves</a></li>
<li><a id="mrenov" title="Rénovation" href="renov.htm">Chantiers de rénovation</a></li>
<li><a id="mcontact" title="Contact" href="contact.htm">Contact</a></li>
<li><a id="maide" title="Aide" href="aide.htm">Aide</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>
Il manque quelques édulcorants et il y aura peut être plus simple.