Home › Forums › CSS › Having the footer at the bottom of the page. › Re: Having the footer at the bottom of the page.
April 30, 2012 at 10:29 am
#102004
resweb
Member
try this code,
Html code
Your website content here.
Copyright (c) 2008
CSS code
* {
margin: 0;
}
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -4em;
}
.footer, .push {
height: 4em;
}