#wrapper { display: table; min-height: 100%; height: 100%; margin: 0px auto; } #header-wrap, #content-wrap, #footer-wrap { display: table-row; height: 1px; } #content-wrap { height: auto; } <div id="wrapper"> <div id="header-wrap"></div> <div id="content-wrap"> <section id="content"></section> </div> <div id="header-wrap"></div> </div>
#wrapper acts like a table, where #header-wrap , #content-wrap and #footer-wrap are tabs that help push the footer to the bottom of the page.
How can I get the #content section to populate #content-wrap height?
I will not use absolute positioning.
source share