rules specifies which cell borders to render in the table.
HTMLTableElement.rules =rules; varrules =HTMLTableElement.rules;
rulesis a string with one of the following values:
- no rules
- lines between groups only
- lines between rows
- lines between cols
- lines between all cells
// Turn on all the internal borders of a table var t = document.getElementById("TableID"); t.rules = "all";
- W3C DOM 2 HTML Specification HTMLTableElement .rules.