asp.net.ph

Skip Navigation Links

COLSPAN Attribute | colSpan Property

Language References


Sets or retrieves the number of columns spanned by the current cell.

Syntax


Inline <element COLSPAN = iCount...>
Script object.colSpan = iCount ]

Possible Values


iCount Integer specifying the number of columns to span.

The property is read/write with a default value of 1.

Remarks

This attribute specifies how many columns in the TABLE the object should span. Specifying a zero value means that the cell spans all columns from the current column to the last column of the column group in which the cell is defined.

This property can only be changed after the page has been loaded.

Applies To

TD, TH

See Also

rowSpan, Using Tables



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note