Judging by earlier questions and their lack of answers, I'm not sure there will be a good answer for this. Fortunately, we only need to support newer browsers.
Looking for a layout to let us have a 3 rows with a fixed-size header and footer, but the center row is fluid with the height of the browser but will also scroll when it's content is too big.
Possible without JavaScript? We tried (simplified example):
<html style="height: 100%">
<body style="height: 100%">
<section style="height: 100%; display: table;">
<header style="display: table-row; height: 200px;">
Header
</header>
<section style="display: table-row; height: 100%; overflow-y: auto;">
Content
</section>
<footer style="display: table-row; height: 200px;">
</footer>
</section>
</body>
</html>
Problem is that when the content section contains enough content to overflow the height of it, instead of scrolling the content stretches it instead. I had hoped that floating the contents might help, but no good there either.
Any ideas?