HTML CSS examples for CSS Widget:Table Border
CSS and HTML table - spacing/padding/border
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> tr td { text-align:center; border-left:solid; border-right:solid; width:3em; } tr td:first-of-type { text-align:left; border:none } tr td:last-of-type { text-align:right; border:none; } </style> <!-- w ww . ja v a 2 s .co m--> </head> <body> <table> <tbody> <tr> <td>L</td> <td>L</td> <td>L</td> </tr> </tbody> </table> </body> </html>