X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Style columnFill Property

Style Object Reference Style Object

Example

Specify how to fill columns:

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



Definition and Usage

The columnFill property specifies how to fill columns, balanced or not.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The columnFill property is not supported in any of the major browsers.


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. Columns are balanced. Browsers should minimize the variation in column length
auto Columns are filled sequentially, and they will have different lengths
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit

Technical Details

Default Value: balance
Return Value: A String, representing the column-fill property of an element
CSS Version CSS3


Related Pages

CSS3 tutorial: CSS3 Multiple Columns

CSS reference: column-fill property


Style Object Reference Style Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook