HTML and CSS Reference
In-Depth Information
neither forces nor forbids a column break, allowing the user agent to decide how to break
the content during flow.
Examples
.breakitdown {-webkit-column-break-before: always;
column-break-before: always;}
.nobreaks {-webkit-column-break-before: avoid; column-break-before: avoid;}
Compatibility
CSS3
Chrome 2+, Safari 3+
Notes
• WebKit-based browsers support this property as
-webkit-column-break-before
.
• WebKit also defines
left
and
right
values, though their meaning is somewhat
unclear in this context.
• WebKit also defines
column-break-inside
, though this is not currently in the
CSS3 specification.
column-count
This property defines the number of columns in a multicolumn text flow.
Syntax
column-count:
integer
| auto
where
integer
is a positive value for the number of columns to flow the text into.
Examples
.two-column {-moz-column-count: 2; -webkit-column-count: 2; column-count: 2;}
.three-column {-moz-column-count: 3; -webkit-column-count: 3;
column-count: 3;}
O
NLINE
http://htmlref.com/ch6/columncount.html