Name

row-span — NN n/a IE n/a CSS 2

Synopsis

Inherited: No

Sets the number of rows to be spanned by a table cell, row, or row group. Analogous to the ROWSPAN attribute of a TD or TH element.

CSS Syntax

row-span: integer

Value

Any positive integer representing the number of rows.

Initial Value

1

Example

#tallDrink {row-span: 3}

Applies To

TD and TH elements and any other cell type of element.

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.