Latest web development tutorials

HTML DOM Style columnFill property

Style Object Reference Style Objects

Examples

Provisions of how to fill columns:

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


Definition and Usage

columnFill attribute specifies how to fill a column (whether or coordination).


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Almost all of the major browsers do not support columnFill property.


grammar

Back columnFill properties:

object .style.columnFill

Setting columnFill properties:

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

Property Value

描述
balance 默认值。对列进行协调。浏览器应对列长度的差异进行最小化处理。
auto 按顺序对列进行填充,列长度会各有不同。
initial 设置该属性为它的默认值。请参阅 initial
inherit 从父元素继承该属性。请参阅 inherit

technical details

Defaults: balance
return value: String representing the column-fill property element.
CSS version CSS3


related articles

CSS3 tutorial: CSS3 multi-column

CSS Reference: column-Fill property


Style Object Reference Style Objects