CSS for three column display - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:3 Column

Description

CSS for three column display

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>test</title> 
  <style>

.side {<!--from   w  w  w .j a  va 2s  .  c  o m-->
   width: 20%;
   float: left;
   background-color: red;
   height: 100%;
}
.middle {
   width: 60%;
   float: left;
   background-color: blue;
   height: 100%;
}

      </style> 
 </head> 
 <body> 
  <div class="side">
    &nbsp; 
  </div> 
  <div class="middle">
    &nbsp; 
  </div> 
  <div class="side">
    &nbsp; 
  </div>  
 </body>
</html>

Related Tutorials