#footer{ position:absolute; bottom:0; width:100%; height:10px; background:#ccc; line-height:100px; text-align:center; }