Is it possible to create a div that adjusts to the size of the browser and is also scrollable?
I want to use overflow:auto
on the div and percentage height of 90%
.
The structure of the page is
<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>
Will overflow:auto
work without a known px
height somewhere in the hierarchy?