Example

A simple column-width property example:

Laboratory

description & Usage

We determine the width of all columns with the column-width property.

Informations

# Description
Default Value auto
Inherited no
Animatable yes
Version CSS3
JavaScript syntax object.style.columnWidth="100px"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
column-width

Syntax

Values

Values Description
auto The width between columns is automatically adjusted by the browser.
length The length specifies the width between the columns.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.