Divide 3 divs in 3 columns - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:3 Column

Description

Divide 3 divs in 3 columns

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Stack 3 Div spacing inline 33.33%</title> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css');
.wrapper {<!--from  ww w  . j a va2  s .c om-->
   width:100%;
}

.column {
   display:inline-block;
   min-height:151px;
   width:34.33333333333334%;
   border:2px solid Chartreuse;
   margin-bottom:9px;
   box-sizing:border-box;
}
</style> 
 </head> 
 <body> 
  <div class="wrapper"> 
   <div class="column">
     abc 
   </div> 
   <div class="column">
     def 
   </div> 
   <div class="column">
     ijk 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials