make a fluid sticky footer - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Footer stick to bottom

Description

make a fluid sticky footer

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
#container {<!--from  ww  w .  ja v a2  s  . c om-->
   width:100%;
   height:100;
}

#sticky_footer {
   position:fixed;
   bottom:0;
   left:0;
   width:100%;
   height:11%;
   background:red;
   text-align:center;
}
</style> 
 </head> 
 <body> 
  <div id="container"> 
   <div id="sticky_footer">
     Lorem ip 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials