tuxbleu renie ses origines | Bonjour,
Je met un div qui a une couleur (gris). A l'interieur de ce div, j'en met un autre d'une couleur rouge.
Le navigateur se fiche éperdument du background rouge, il laisse un background gris.
Vous savez pourquoi
<body>
<div class="central">
<div class="central1">
</div>
</div>
|
body { margin: 0;
color:#000000;
font-family: Trebuchet MS, Verdana, Arial;
font-size:12px;
text-align: center;
height:100%;
}
#central {
margin: 0;
position: relative; float: left; padding: 0px;
width:60%;
background-color: #DDDDDD;
text-align: center;
font-size:12px;
height:100%;
}
#central1 {
margin:0;
border-left: 2px solid #FFFFFF;
border-right: 2px solid #FFF;
padding: 0px;
position: relative; float:left; width:10%
background-color: #FF0000;
text-align: center;
font-size:12px;
height:100%;
}
|
|