Easy Tutorial
❮ Prop Embed Src Met Element Getattribute ❯

Style columnWidth Property

Style Object

Example

Change the width of columns:


Definition and Usage

The columnWidth property specifies the width of the columns.


Browser Support

Internet Explorer 10 and Opera support the columnWidth property.

Firefox supports an alternative property, MozColumnWidth.

Safari and Chrome support an alternative property, WebkitColumnWidth.


Syntax

Return the columnWidth property:

Set the columnWidth property:

Property Values

Value Description
auto Default value. The width of the columns is determined by the browser.
length A length that specifies the width of the columns.
initial Sets this property to its default value. See initial
inherit Inherits this property from its parent element. See inherit

Technical Details

Default value: auto
Return value: String, representing the column-width property of the element.
--- ---
CSS Version CSS3
--- ---

Related Articles

CSS3 Tutorial: CSS3 Multiple Columns

CSS Reference: column-width Property


Style Object

❮ Prop Embed Src Met Element Getattribute ❯