Create a 4-column, liquid footer - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:4 Column

Description

Create a 4-column, liquid 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 .column {<!--from   w  w w .  ja  v a 2s  .  c  om-->
   float: left;
   width: 25%;
   background: red;
}
#footer .column div {
   margin: 10px;
   height: 100px;
   background: blue;
}


      </style> 
 </head> 
 <body> 
  <div id="footer"> 
   <div class="column"> 
    <div></div> 
   </div> 
   <div class="column"> 
    <div></div> 
   </div> 
   <div class="column"> 
    <div></div> 
   </div> 
   <div class="column"> 
    <div></div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials