This property controls which parts of a table's inner borders are rendered into the display. The following keywords are supported by this property:
Keyword | Description |
all | All borders are placed around all cells |
cols | Borders only delimit columns of cells |
groups | Borders are placed between cell groups |
none | No borders between cells are displayed at all |
rows | Borders only delimit rows |
Where borders are used to delimit groups of cells, the groups are established with the <THEAD>, <TBODY>, <TFOOT>, <COLGROUP> or <COL> HTML tags.
The rules property affects the inner borders around the cells in the table. The frame property controls the ruled edges around the outside of the table. Table ruling and bordering is quite complex and some time spent messing around with the property values is worthwhile.
Be careful not to confuse this with the rules[] collection of a StyleSheet. These rules are ruled borders not style sheet rules.
See also: | COL object, COLGROUP object, TABLE.frame, TBODY object, TFOOT object, THEAD object |
Prev | Home | Next |
TABLE.rows[] | Up | TABLE.summary |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |