HTML CSS examples for CSS Widget:Table Row
Table Row Border
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> * {<!-- w ww. j ava2s . co m--> box-sizing:border-box; } body { background-color:Chartreuse; } table { border-collapse:collapse; table-layout:fixed; width:100%; } th, td { background-color:yellow; padding:11px 16px 9px 9px; border-left:6px solid blue; border-bottom:2px solid pink; } th { border-bottom:2px solid OrangeRed; font-weight:normal; text-align:left; } tr>td:first-child, tr>th:first-child { border-left:6px solid grey; } tr.low>td:first-child { border-left:6px solid BlueViolet; } </style> </head> <body> <table> <thead> <tr> <th>L</th> <th>Lorem </th> <th>Lorem</th> <th>Lorem i</th> <th>Lorem ipsum</th> <th>Lor</th> </tr> </thead> <tbody> <tr class=""> <td>L</td> <td>Lor</td> <td>Lorem ipsum dolor sit ame</td> <td>Lorem ips</td> <td>Lorem ips</td> <td>Lorem ipsu</td> </tr> <tr class="low"> <td>L</td> <td>Lor</td> <td>Lorem ipsum dolor sit ame</td> <td>Lorem ips</td> <td>Lorem ips</td> <td>Lorem ipsu</td> </tr> <tr class=""> <td>L</td> <td>Lor</td> <td>Lorem ipsum dolor sit ame</td> <td>Lorem ips</td> <td>Lorem ips</td> <td>Lorem ipsu</td> </tr> </tbody> </table> </body> </html>