rules-groups-ref.html (1134B)
1 <!DOCTYPE html> 2 <meta charset=utf-8> 3 <title>CSS reference: legacy table rules attribute</title> 4 5 <style> 6 table { margin: 1em 1em 2em 1em; border-collapse: collapse; } 7 8 #a thead, #a tbody { border-block-end-width: 1px; border-block-end-style: solid; } 9 #b thead, #b tbody { border-block-end: 1px solid blue; } 10 #c thead, #c tbody { border-block-end-width: 5px; border-block-end-style: solid; } 11 </style> 12 13 <p>Borders between groups should be present:</p> 14 <table id=a> 15 <thead><tr><td>head</td></tr></thead> 16 <tbody> 17 <tr><td>body</td><td>one</td></tr> 18 <tr><td>body</td><td>two</td></tr> 19 </tbody> 20 <tfoot><tr><td>foot</td></tr></tfoot> 21 </table> 22 23 <p>Borders between groups should be blue:</p> 24 <table id=b> 25 <thead><tr><td>head</td></tr></thead> 26 <tbody> 27 <tr><td>body</td><td>one</td></tr> 28 <tr><td>body</td><td>two</td></tr> 29 </tbody> 30 <tfoot><tr><td>foot</td></tr></tfoot> 31 </table> 32 33 <p>Borders between groups should be 5px thick:</p> 34 <table id=c> 35 <thead><tr><td>head</td></tr></thead> 36 <tbody> 37 <tr><td>body</td><td>one</td></tr> 38 <tr><td>body</td><td>two</td></tr> 39 </tbody> 40 <tfoot><tr><td>foot</td></tr></tfoot> 41 </table>