Fluid Columns - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Column Layout

Description

Fluid Columns

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-wrapper{<!--  w ww  . jav a  2s. c  o  m-->
   width:500px;
   border:1px red solid;
   height:300px;
}
#container{
   width:98%;
   border:1px green solid;
   margin:1%;
}
.line{
   float:right
}


      </style> 
 </head> 
 <body> 
  <div id="container-wrapper"> 
   <div id="container"> 
    <div class="left"> 
     <div class="line">
       11111111111111111 
     </div> This is LEFT 
    </div> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials