Salut, essaye ca..
body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 0.8em;
margin: 0;
padding: 0;
text-align: center;
background-color: #fff;
}
#global {
width: 800px;
height: 698px;
margin-left:auto;
margin-right:auto;
text-align: left;
}
#header {
height: 102px;
width: 800px;
background-image: url('images/header.jpg');
}
#menu {
position:absolute;
height: 51px;
width: 523px;
background-image: url('images/menu.jpg');
margin-left: 277px;
margin-top:0px;
}
#centre{
position:absolute;
height: 356px;
width: 481px;
margin-left:277px;
margin-top:51px;
}
h1 {
width: 481px ;
height: 50px ;
margin: 0 ;
background: url(images/centre_societe.jpg) no-repeat ;
text-align: center ;
}
p {
overflow: auto;
width: 481px ;
height: 306px ;
margin: 0 ;
background: url(images/centre_societe.jpg) no-repeat 0 -50px ;
color: #fff ;
padding-left: 10px;
padding-right:10px;
}
#gauche {
position:absolute;
width: 277px;
height: 596px;
background-image: url('images/gauche.jpg');
}
#droite {
position:absolute;
margin-left: 758px;
margin-top:51px;
width:42px;
height: 356px;
background-image: url('images/droite.jpg');
}
#footer {
position:absolute;
margin-top: 407px;
margin-left: 277px;
height: 189px;
width:523px;
background-image: url('images/footer.jpg');
}
.image {
text-decoration: none;
cursor: hand;
border: thin Aucune #CCCCCC;
}
J'ai souvent ce prob de vouloir positionner seulement qlq éléments en float à l'intérieur d'un autre qui lui est en relative. Donc dans ce cas, com c'est le cas ici, je positionne en absolute.
En espérant que ca marche now..