<div id="container"> <div id="header"></div> <div id="body"></div> <div id="footer"></div> </div>
html,body {margin: 0; padding: 0; height: 100%} #container {min-height: 100%; position: relative} #body {padding-bottom: 60px;} #footer {position: absolute; bottom: 0; width: 100%; height: 60px}