Easy Tutorial
❮ Pr Tab Empty Cells Pr Tab Table Layout ❯

CSS3 column-span Property

Example

Set all span elements within h2


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Numbers followed by -webkit-, -ms-, or -moz- specify the first version that supported the prefixed property.

Property
column-span 50.0 <br>4.0 -webkit- 10.0 Not supported 9.0 <br>3.1 -webkit- 37.0 <br>15.0 -webkit- <br>11.1

Property Definition and Usage

The column-span property specifies how many columns an element should span across.

Default value: 1
Inherited: no
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.columnSpan="all"
--- ---

Syntax

Value Description
1 The element should span across one column
all The element should span across all columns

More Examples

Column-count

Column-gap

Column-rule


Related Articles

CSS3 Tutorial: CSS3 Multiple Columns

❮ Pr Tab Empty Cells Pr Tab Table Layout ❯