Style columnFillProperty

Style 对象参考手册Style Object

Example

Specifies how to fill columns:

document.getElementById("myDIV").style.columnFill="auto";


Definition and Usage

The columnFill property specifies how to fill columns (whether to balance).


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

Almost all mainstream browsers do not support the columnFill property.


Syntax

Return the columnFill property:

object.style.columnFill

Set the columnFill property:

object.style.columnFill="balance|auto|initial|inherit"

Property Values

Value Description
balance Default value. Balances the columns. The browser should minimize the difference in column lengths.
auto Fills the columns in order, so the column lengths will differ.
initial Sets this property to its default value. Seeinitial。
inherit Inherits this property from its parent element. Seeinherit。

Technical Details

Default value: balance
Return value: A string representing the column-fill property of an element.
CSS Version CSS3


Related Articles

CSS3 Tutorial:CSS3 Multi-column

CSS Reference Manual:column-fill property


Style 对象参考手册Style Object

Other Extensions