Just set the position as fixed and set the bottom to 0:
footer
{
position:fixed;
bottom:0;
}
Works with treatment in FF, IE7, IE8, etc. for me. Here is my actual CSS on one of my footer sites (div with id footer):
#footer
{
clear:both;
color:#FFF;
background:#666;
bottom:0;
border:solid 1px #333;
height:30px;
width:100%;
min-width:950px;
position:fixed;
z-index:100;
}
source
share