Bonjour voici mon probleme
je souhaite alignés 3 div horizontalement mais la 3eme div va tout le temps se mettre sous la 3eme div
voici mon code:
page.php
Code HTML :
<body>
<div id="page">
<div id="header">
</div>
<div id="partie_gauche">
</div>
<div id="partie_centre">
</div>
<div id="partie_droite">
</div>
<div id="footer">
</div>
</div>
</body>
styles.css
Code HTML :
body
{
margin-top:10px;
}
img {
border: 0;
}
#page
{
width:1000px;
margin:auto;
}
#header
{
height:150px;
width:1000px;
border:1px solid green;
}
#partie_gauche
{
width:190px;
float: left;
border:1px solid blue;
height:200px;
}
#partie_centre
{
width:650px;
margin-left:200px;
border:1px solid red;
/*background-image: url("images/background_centre.jpg");*/
height:500px;
}
#partie_droite
{
width:140px;
margin-left:860px;
border:1px solid yellow;
height:200px;
}
#footer
{
height:100px;
border:1px solid purple;
width:1000px;
}
voici le résultat
Merci de votre aide
Bonne journée
...