bonjour,
j'ai utilisé la méthode d'alsace création pour centré mon site.
le css
le html
sous firefox, la bordure colorée n'apparait pas
sous ie6, affichage correct
avez vous une explication et une solution afin de remédier à ce problème ?
d'avance merci
j'ai utilisé la méthode d'alsace création pour centré mon site.
le css
body{
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:small;
margin:0;
padding:0;
background-color:Black;
text-align: center;
}
#conteneur{
position: relative;
width: 800px;
margin-left: auto;
margin-right: auto;
border: 2px solid #FFCC00;
}
#header{
float:left;
width:100%;
height:100px;
background-color:yellow;
}
#centre{
float:left;
width:100%;
background-color:red;
padding-bottom:20px;
}
#pied{
float:left;
width:100%;
height:30px;
background-color:gray;
}
le html
<div id="conteneur">
<div id="header">header</div>
<div id="centre"></div>
<div id="pied">footer</div>
</div>
sous firefox, la bordure colorée n'apparait pas
sous ie6, affichage correct
avez vous une explication et une solution afin de remédier à ce problème ?
d'avance merci