div with dynamic min-height based on browser window height
Just look for my solution on jsfiddle, it is based on csslayout html, body { margin: 0; padding: 0; height: 100%; /* needed for container min-height */ } div#container { position: relative; /* needed for footer positioning*/ height: auto !important; /* real browsers */ min-height: 100%; /* real browsers */ } div#header { padding: 1em; … Read more