CSS:
*{ margin:0; padding:0; } html{ height:100%; } body{ position:relative; min-height:100%; } #header { background-color:#4bb648; } #wrapper{ padding-bottom:50px; background-color:#fcd209; display:table; } #footer{ position:absolute; bottom:0; left:0; z-index:500; width:100%; height:50px; overflow:hidden; background-color:#e6413a; }
Пример можно посмотреть тут