Bon j'ai donc mit un doctype.
J'ai redenouveau un petit problèmes
Après le header, j'aimerai un conteneur en dessous contenant 2 autres conteneurs (un pour un menu et l'autre pour le contenue)
Mais cela m'écris le texte en dessous du conteneur :
CSS
body {
margin: 0;
}
#head {
margin-left: auto;
margin-right: auto;
width: 900px;
border: 1px solid #000;
}
#menu1 {
margin-top: 10px;
margin-left: auto;
margin-right: auto;
width: 900px;
border: 1px solid #000;
text-align: center ;
font: bold 16px Times ;
}
#conteneur {
position: absolute;
margin-top: 10px;
width: 900px;
left: 50%;
margin-left: -450px;
background-color:#CCCCFF;
border: 1px solid #000;
}
#centre {
background-color:#9999CC;
margin-left: 150px;
}
#gauche {
position: absolute;
left:0;
width: 150px;
}
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css" title="Softiz" />
</head>
<body>
<div id="head"><img src="head.jpg" alt="Softiz - La gratuité sous windows"></div>
<div id="menu1">
<a href="" class="menu1">Accueil</a> -
<a href="" class="menu1">Equipe</a> -
<a href="" class="menu1">Forum</a> -
<a href="" class="menu1">Chat</a> -
<a href="" class="menu1">Liens</a> -
<a href="" class="menu1">Contact</a>
</div>
<div id="conteneur">
<div id="gauche">frfr</div>
</div>
</body>
</html>