Spaces between table cells with no border - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Cell

Description

Spaces between table cells with no border

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <title>Lorem</title> 
  <style>
.sample {<!--from  w  w w  . j  a va2  s . co m-->
   width:201px;
}
</style> 
 </head> 
 <body translate="no"> 
  <table class="sample" cellpadding="1" cellspacing="1"> 
   <tbody> 
    <tr> 
     <td align="center" valign="center"> <a href="#"> <img src="https://www.java2s.com/style/demo/Opera.png" alt=""> </a> <br>Lorem ipsu</td> 
     <td align="center" valign="center"> <a href="#"> <img src="https://www.java2s.com/style/demo/Opera.png" alt=""> </a> <br>Lorem ip</td> 
    </tr> 
   </tbody> 
  </table>  
 </body>
</html>

Related Tutorials