Table design - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table

Description

Table design

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">
.wrapper {<!--  w  w w  .j  a va2  s  .co m-->
   width:401px;
}

.box {
   display:block;
   width:100px;
   height:100px;
   float:left;
   background-color:Chartreuse;
}

.double {
   height:201px;
}

.title {
   background-color:yellow;
   padding:6px 11px;
   text-align:center;
}
</style> 
 </head> 
 <body> 
  <div class="wrapper"> 
   <div class="box double"> 
    <div class="title">
      Lorem ips 
    </div>Lorem ips 
   </div> 
   <div class="box double"> 
    <div class="title">
      Lorem ips 
    </div>Lorem ips 
   </div> 
   <div class="box"> 
    <div class="title">
      Lorem ips 
    </div>Lorem ips 
   </div> 
   <div class="box"> 
    <div class="title">
      Lorem ips 
    </div>Lorem ips 
   </div> 
   <div class="box"> 
    <div class="title">
      Lorem ips 
    </div>Lorem ips 
   </div> 
   <div class="box"> 
    <div class="title">
      Lorem ips 
    </div>Lorem ips 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials