Add a solid line between each row in a table - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Row

Description

Add a solid line between each row in a table

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--  w ww .j  av a  2s .  c o m-->
 <body> 
  <table cellspacing="0"> 
   <tbody> 
    <tr> 
     <td style="border-bottom: solid 1px;">Lore</td> 
     <td style="border-bottom: solid 1px;">Lorem </td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials