HTML CSS examples for CSS Widget:Table
Aligning a set of labels and values using table
<html> <head> <style> table {<!--from w ww.ja v a 2s. c o m--> font-family:arial, sans-serif; border-collapse:collapse; width:100%; } td { border:2px solid Chartreuse; text-align:left; padding:9px; } </style> </head> <body> <table> <tbody> <tr> <td>Name</td> <td>John Doe</td> </tr> <tr> <td>Age</td> <td>30.30.30</td> </tr> </tbody> </table> </body> </html>