< css‎ | properties
Jump to: navigation, search


This article is Ready to Use.

W3C Candidate Recommendation


Specifies the width of columns in multi-column elements.

Overview table

Initial value auto
Applies to non-replaced block-level elements (except table elements), table cells, and inline-block elements
Inherited No
Media visual
Computed value the absolute length, zero or larger
Animatable Yes
CSS Object Model Property columnWidth
Percentages N/A


  • column-width: auto
  • column-width: length


A floating-point number, followed by either an absolute units designator

(cm, mm, in, pt, or pc) or a relative units designator (rem, em, ex, or px), that indicates the optimal width. For more information about the supported length units, see CSS Length Units Reference.

Default. The optimal column width is determined through other property values of the multi-column element, such as columnCount.


Makes as many columns that are 100px as there is space in the browser.


Makes as many columns that are 100px as there is space in the browser.

#column {
  /* Prefix free example below, use vendor prefixes where needed */
  column-width: 100px;

View live example



The actual column width may vary from the value specified due to available space. To ensure that the exact value specified for this property is used, all property values of the multi-column element that pertain to length (such as width, column-width, column-gap, and column-rule-width) must be specified.

Related specifications

Specification Status Related Changes
CSS Multi-column Layout Module Candidate Recommendation

See also

Related articles


  • column-width


This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]