-moz-column-width property | -webkit-column-width property
-moz-column-width: | ||||||
-webkit-column-width: |
Specifies the suggested width of columns. The width of a column may be different from this value depending on its contents.
JavaScript page for this property: MozColumnWidth | webkitColumnWidth. 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. | |||||||
The width of the column in length units. For the supported length units, see the length page. |
Default: auto.
Example HTML code 1:
This example illustrates the use of the -moz-column-width and the -webkit-column-width properties:
|
||||
<head> <style> .example { -moz-column-count: 2; -webkit-column-count: 2; -moz-column-width: 100px; -webkit-column-width: 100px; } </style> </head> <body> <div class="example"> You can order the text content of an element into fixed width columns with the -moz-column-width and the -webkit-column-width properties. </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