Style columnRuleWidth Property
Example
Change the width rule between columns:
document.getElementById("myDIV").style.columnRuleWidth="10px";
Try it »
Definition and Usage
The columnRuleWidth property specifies the width rule between columns.
Browser support

Internet Explorer 10 and Opera support the columnRuleWidth property.
Firefox supports an alternative property to this one, namely the MozColumnRuleWidth property.
Safari and Chrome support an alternative property to this one, namely the WebkitColumnRuleWidth property.
Syntax
Return the columnRuleWidth property:
object
.style.columnRuleWidth
Set the columnRuleWidth property:
object
.style.columnRuleWidth="medium|thin|thick|
length
|initial|inherit"
Attribute values
| Value | Description |
|---|---|
| medium | Default value. Defines a medium rule. |
| thin | Defines a thin rule. |
| thick | Defines a thick rule. |
| length | Specifies the width of the rule. |
| initial | Sets this property to its default value. See initial. |
| inherit | Inherits this property from its parent element. See inherit. |
Technical Details
| Default value: | medium |
|---|---|
| Return Value: | A string that represents the column-rule-width property of an element. |
| CSS version | CSS3 |
Related Articles
CSS3 Tutorial:CSS3 Multiple Columns
CSS Reference Manual:column-rule-width property
The Style object