html{ height:100%; } body{ min-height:100%; margin:0px; position: relative; } footer{ position: absolute; bottom: 0px; width:100%; }