HTML CSS examples for CSS Widget:Table
Pretty styling tables
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> th,td { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:19px; color:Chartreuse; } tr {<!-- w w w . j a va2 s . c om--> border:2px solid yellow; } td { padding:4px; } th { background-color:blue; color:pink; } table { border:2pt solid OrangeRed; } .column1 { width:201px; } .column2 { width:51px; } </style> </head> <body> <table id="theList"> <colgroup> <col class="column1"> <col class="column2"> </colgroup> <thead> <tr> <th>Lore</th> <th>Lorem</th> </tr> </thead> <tbody> <tr> <td>Lore</td> <td>Lore</td> </tr> <tr> <td>Lore</td> <td>Lore</td> </tr> </tbody> </table> </body> </html>