Separating table column into 3 parts - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Column

Description

Separating table column into 3 parts

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--from w w w  .j  ava 2s  .c  o  m-->
 <body> 
  <table border="1" cellspacing="0"> 
   <tbody> 
    <tr> 
     <td colspan="3" style="width:120px; height:20px;">Lorem i</td> 
     <td colspan="3" rowspan="2" style="width:120px; height:120px;"></td> 
    </tr> 
    <tr> 
     <td colspan="3" rowspan="2" style="width:100px;">Lorem i</td> 
    </tr> 
    <tr> 
     <td colspan="3" style="width:120px; height:120px;"></td> 
    </tr> 
    <tr> 
     <td colspan="2" style="width:40px; height:20px;"></td> 
     <td colspan="2" style="width:40px; height:20px;"></td> 
     <td colspan="2" style="width:40px; height:20px;"></td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials