CSS3 column-fill property
Example
Specify how the columns are filled:
div
{
column-fill:auto;
}
There are more examples at the bottom of this page.
Browser support
The numbers in the table indicate the first browser version that supports this method.
| property | |||||
|---|---|---|---|---|---|
| column-fill | Not supported | Not supported | 13.0 -moz- | Not supported | Not supported |
Property definition and usage
The column-fill property specifies how the columns are filled.
| Default value: | balance |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.columnFill="auto" |
Syntax
column-fill: balance|auto;
| Value | Description |
|---|---|
| balance | Columns are balanced in length. The browser should minimize changes to the column lengths |
| auto | Columns are filled sequentially; they may have different lengths |
More examples
Column-count
Divide the text of a div element into three columns.
Column-gap
Divide the text in a div element into three columns and specify a 30-pixel gap between the columns.
Column-rule
Specify the rule between columns: width, style, and color.
Related Articles
CSS3 tutorial: CSS3 Multiple Columns