Comment définir une hauteur d'enveloppement div # dans cette situation?Comment définir une hauteur div dans cette situation?
<body style="height:100%;width:100%;overflow:hidden;padding:0;margin:0;">
<div id="header" style="width:100%;height:50px;z-index:5;background:blue;padding:0;margin:0;"> </div>
<div id="wrap" style="width:100%;overflow:scroll;background:red;height:100%;padding:0;margin:0;">
<div id="content" style="width:100%;height:2000px;padding:0;margin:0;">
</div>
</div>
<div id="footer" style="width:100%;height:30px;z-index:5;background:green;padding:0;margin:0;"> </div>
</body>
Je ne comprends pas ce que vous entendez –
div # wrap hauteur peut-être 100% -div # header-div # pied de page, je veux obtenir div # hauteur de l'enveloppe. –