HTML CSS examples for CSS Widget:Table
customize a table group consistently
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> table {<!--from w ww . j a v a2 s . c om--> border-collapse:collapse; } td { padding:9px; } .xbox360 { background-color:Chartreuse; color:yellow; text-align:center; } </style> </head> <body> <table> <colgroup> <col> <col class="xbox360"> <col> <col> <col> </colgroup> <thead> <tr> <td></td> <td> <strong>Lorem ip</strong> </td> <td> <strong>Lor</strong> </td> <td> <strong>Lorem ip</strong> </td> <td> <strong>Lor</strong> </td> </tr> </thead> <tbody> <tr> <td> <strong>Lorem ip</strong> </td> <td>Lorem ips</td> <td>Lorem ips</td> <td>Lorem ips</td> <td>Lorem ips</td> </tr> <tr> <td> <strong>Lorem ip</strong> </td> <td>Lorem ips</td> <td>Lorem ips</td> <td>Lorem ips</td> <td>Lorem ips</td> </tr> </tbody> </table> </body> </html>