Name

rowSpan — NN n/a IE 4 DOM 1

Synopsis

Read/Write

The number of rows through which the current table cell should extend itself downward. For each additional row included in the rowSpan count, one less TH or TD element is required for the next table row. If you set the vAlign property to middle, the alignment is calculated on the full height of the TH element across the specified number of rows.

Example

document.all.myTH.rowSpan = 12

Value

Any positive integer, usually 2 or larger.

Default

1

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.