July 1998
Intermediate to advanced
1456 pages
65h 5m
English
colSpan — NN n/a IE 4 DOM 1
Read/Write
The number of columns across which the current table cell should
extend itself. For each additional column included in the
colSpan count, one less TH or
TD element is required for the table row. If you
set the align property to
center or right, the alignment
is calculated on the full width of the TH element
across the specified number of columns. Unless the current cell also
specifies a ROWSPAN attribute, the next table row
returns to the original column count.
document.all.myTH.colSpan = 2
Any positive integer, usually 2 or larger.
1
Read now
Unlock full access