Name
cols — NN n/a IE 4 DOM 1
Synopsis
Read/Write
The number of columns of the table. The corresponding
COLS
attribute assists the browser in preparation
for rendering the table. Without this attribute, the browser relies
on its interpretation of all downloaded TR
and
TD
elements to determine how the table is to be
divided.
Example
document.all.myTable.cols = 5
Value
Any positive integer.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.