28221 sujets

CSS et mise en forme, CSS3

Bonjour à tous,

Voila j'ai une petite question, j'aimerai comprendre pourquoi quand je donne une taille % à mon contenu celui-ci n'apparait il pas..?
<style type="text/css">
body {
margin:0;
padding:0;
}
#entete {
height:100px;
widht:100%;
background: transparent url(Image2.jpg) top left no-repeat;
}
#contenu {
position: relative;
height:500px;
width:100%;
background-color:#00CC00;
}
#pied {
width:100%;
height:10px;
background-color:#CC9900;
}
</style>
</head>

<body>
<div id="entete"></div>
<div id="menutop"></div>
<div id="contenu"></div>
<div id="pied"></div>


Merci à tous Smiley smile
red210 a écrit :
#entete {

height:100px;

[b]widht:100%;[/b]

background: transparent url(Image2.jpg) top left no-repeat;

}

Une inversion de lettre peut-être ? Smiley cligne (width)