create a table with 2 cell left and 3 cell right - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Cell

Description

create a table with 2 cell left and 3 cell right

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!-- ww  w .j a va  2s. co m-->
 <body> 
  <table width="500" border="0" cellspacing="0" cellpadding="0" style="border:solid 1px #333;"> 
   <tbody> 
    <tr> 
     <td width="50%" style="border-right:solid 1px #333;"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0"> 
       <tbody> 
        <tr> 
         <td style="border-bottom:solid 1px #333;">&nbsp;</td> 
        </tr> 
        <tr> 
         <td>&nbsp;</td> 
        </tr> 
       </tbody> 
      </table> </td> 
     <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0"> 
       <tbody> 
        <tr> 
         <td style="border-bottom:solid 1px #333;">&nbsp;</td> 
        </tr> 
        <tr> 
         <td style="border-bottom:solid 1px #333;">&nbsp;</td> 
        </tr> 
        <tr> 
         <td>&nbsp;</td> 
        </tr> 
       </tbody> 
      </table> </td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials