html, body 
{	margin:0;
	padding:0;
	height:100%;
}

#container {
   min-height:100%;
   position:relative;
}
#header {
   background:#ff0;
   padding:10px;
}
#body {
   
   padding-bottom:200px;   /* Height of the footer */
}
#footer {
   position:absolute;
   bottom:0;
   width:100%;
   height:200px;   /* Height of the footer */
;
}