TD.colSpan (Property)

The number of columns that the table cell spans.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:-myTD.colSpan

This corresponds to the COLSPAN attribute within a <TD> HTML tag for a table cell description. It defines how many table columns this column is to span.


See also:COL.span, COLGROUP.span, style.columnSpan, TH.colSpan