style.columnSpan (Property)

Defines the number of columns to span when displaying a table cell.

Availability:

CSS level - 2
Property/method value type:String primitive
JavaScript syntax:nonemyStyle.columnSpan
CSS syntax:column-span: aCount
Argument list:aCountA number of columns to span

The columnSpan property is used to define how many columns a table cell should span. There are other alternative ways to access the cell spanning controls for a table cell via the DOM representation of tables through the TABLE, TD and TH objects.

You should specify a numeric value to indicate how many columns the table cell should span. This can also be used with the COL and COLGROUP objects.

Warnings:

See also:COL object, COLGROUP object, TABLE object, TABLE.cols, TD.colSpan, TH.colSpan