Gets or sets the optimal number of columns in a multi-column element.
This property is read/write.
Syntax
column-count: count | auto
Property values
The number of columns.
- count
-
An integer value that specifies the number of columns in the multi-column element.
auto-
Default. The number of columns is determined by the values of other property values of the multi-column element, such as columnWidth.
CSS information
| Applies To | non-replaced block-level elements (except table elements), table cells, and inline-block elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value | auto |
Remarks
The actual column count may vary from the value specified due to available space.
To ensure the specified value is used, all length property values of the multi-column element must be specified.
See also
- CSSStyleDeclaration
- currentStyle
- style
- address
- blockQuote
- div
- dl
- fieldSet
- form
- ol
- p
- pre
- table
- ul
- dd
- dt
- li
- tBody
- td
- tFoot
- th
- tHead
- tr
- button
- del
- ins
- map
- object
- script
Build date: 11/29/2012