是否可以创建一个调整到浏览器大小的div,也可以滚动?我想用overflow:autodiv和百分比高度90%.
页面的结构是
<body style="height:100%">
<div id=header style="height:100%">headerinfo</div>
<div id=content style="height:100%;overflow:auto">content which is replaced dynamically</div>
</body>
Run Code Online (Sandbox Code Playgroud)
将overflow:auto工作没有已知px的某处层次结构中的高度?