CSS center a bottom footer - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Footer

Description

CSS center a bottom 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">
#footer {<!--from  w w  w. ja v  a2 s  .  c o m-->
   width:601px;
   height:51px;
   background:gray;
   border:2px solid Chartreuse;
   border-radius:11px 11px 0px 0px;
   text-align:center;
   padding:6px;
   position:fixed;
   bottom:0;
   left:51%;
   margin-left:-301px;
}
</style> 
 </head> 
 <body> 
  <div id="footer">
    Lorem ip 
  </div>  
 </body>
</html>

Related Tutorials