In the previous example we set borders between
groups of rows. In this page we'll set borders between groups of columns. Like in the previous example, we indicate that the table should have borders between groups with the
RULES<TABLE ...>
<TABLE border="1" bordercolor="#CBD3E1" bgcolor="#F1F4F5" CELLPADDING=4 RULES=GROUPS FRAME=BOX>
To set which columns are grouped together we use the
<COLGROUP ...><COLGROUP ...><COLGROUP SPAN="...">SPAN<COLGROUP ...>
<TABLE border="1" bordercolor="#CBD3E1" bgcolor="#F1F4F5" CELLPADDING=4 RULES=GROUPS FRAME=BOX> <COLGROUP></COLGROUP> <COLGROUP SPAN=3></COLGROUP>
which gives us this table:
| Weekday | Date | Manager | Qty |
|---|---|---|---|
| Monday | 09/11 | Kelsey | 639 |
| Tuesday | 09/12 | Lindsey | 596 |
| Wednesday | 09/13 | Randy | 1135 |
| Thursday | 09/14 | Susan | 1002 |
| Friday | 09/15 | Randy | 908 |
| Saturday | 09/16 | Lindsey | 371 |
| Sunday | 09/17 | Susan | 272 |