Merge table rows - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Row

Description

Merge table rows

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Lorem ipsum do</title> 
  <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  a 2 s  .co  m-->
   border-collapse:collapse;
}

table, th, td {
   border:2px solid Chartreuse;
}
</style> 
 </head> 
 <body> 
  <table> 
   <thead> 
    <tr> 
     <th>Lorem i</th> 
     <th>Lorem i</th> 
     <th>Lorem i</th> 
    </tr> 
   </thead> 
   <tbody> 
    <tr> 
     <td rowspan="4">Lorem i</td> 
     <td rowspan="2">Lorem ips</td> 
     <td>Lorem ips</td> 
    </tr> 
    <tr> 
     <td>Lorem ips</td> 
    </tr> 
    <tr> 
     <td rowspan="2">Lorem ips</td> 
     <td>Lorem ips</td> 
    </tr> 
    <tr> 
     <td>Lorem ips</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials