-moz-column-rule property | -webkit-column-rule property
-moz-column-rule: |
|
||||||||||
-webkit-column-rule: |
Specifies the style, color and width of the column rule.
Note: The -moz-column-rule property is supported in Firefox from version 3.5.
JavaScript page for this property: MozColumnRule | webkitColumnRule. You can find other example(s) there. |
Possible values:
One of the following values: | ||||||||||||
|
Description of values:
Specifies the color of the column rule. | |||||||
Specifies the style of the column rule, which is placed in the middle of the column gap. | |||||||
Specifies the width of the column rule, which is placed in the middle of the column gap. | |||||||
Takes the value of this property from the computed style of the parent element. |
Default: none.
Example HTML code 1:
This example illustrates the use of the -moz-column-rule and -webkit-column-rule properties:
|
||||
<head> <style> #container { -moz-column-count: 4; -moz-column-width: 90px; -moz-column-rule : 3px solid black; -webkit-column-count: 4; -webkit-column-width: 90px; -webkit-column-rule : 3px solid black; } </style> </head> <body> <div id="container"> This is the contents of the 1. column.<br /> This is the contents of the 2. column.<br /> This is the contents of the 3. column.<br /> This is the contents of the 4. column.<br /> </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:
-webkit-column-break-after
-webkit-column-break-before
-webkit-column-break-inside
-moz-column-count
-moz-column-gap
-moz-column-rule-color
-moz-column-rule-style
-moz-column-rule-width
-moz-column-width
-webkit-column-break-before
-webkit-column-break-inside
-moz-column-count
-moz-column-gap
-moz-column-rule-color
-moz-column-rule-style
-moz-column-rule-width
-moz-column-width
External links:
-moz-column-rule (Mozilla Developer Center)
-webkit-column-rule (Safari Reference Library)
CSS3 Multi-column layout
-webkit-column-rule (Safari Reference Library)
CSS3 Multi-column layout
User Contributed Comments