show three child tables side by side - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table

Description

show three child tables side by side

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">
table {<!--from w w  w .j  a v  a2 s .  c  o m-->
   display:inline;
   width:34%
}

td {
   border:2px solid Chartreuse;
}
</style> 
 </head> 
 <body> 
  <table> 
   <tbody> 
    <tr> 
     <td>Lorem ipsum dolor</td> 
    </tr> 
   </tbody> 
  </table> 
  <table> 
   <tbody> 
    <tr> 
     <td>Lorem ipsum dolor</td> 
    </tr> 
    <tr> 
     <td>Lorem ipsum dolo</td> 
    </tr> 
   </tbody> 
  </table> 
  <table> 
   <tbody> 
    <tr> 
     <td>Lorem ipsum dolor</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials