-moz-column-count property | -webkit-column-count property
-moz-column-count: | ||||||
-webkit-column-count: |
Specifies the number of columns that the contents of the element should be flowed into.
JavaScript page for this property: MozColumnCount | webkitColumnCount. You can find other example(s) there. |
Possible values:
One of the following values:
The browser renders the contents automatically. | |||||||
Takes the value of this property from the computed style of the parent element. | |||||||
Integer, the number of columns. |
Default: auto.
Example HTML code 1:
This example illustrates the use of the -moz-column-count and the -webkit-column-count properties:
|
||||
<head> <style> .example { -moz-column-count: 2; -webkit-column-count: 2; } </style> </head> <body> <div class="example"> You can order the text content of an element into one or more columns with the -moz-column-count and the -webkit-column-count properties. Resize the window! </div> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, b, bdo, big, blink, blockQuote, body, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, fieldSet, font, form, H1, H2, H3, H4, H5, H6, html, i, ins, isIndex, kbd, label, legend, li, marquee, menu, ol, p, pre, s, samp, small, span, strike, strong, sub, sup, table, td, textArea, th, tt, u, ul, var, q, xmp
Related pages:
External links:
User Contributed Comments