Style columnRuleWidth property
- Previous Page columnRuleStyle
- Next Page columns
- Go to the Previous Level HTML DOM Style Object
Definition and Usage
columnRuleWidth
Specifies the width of the rule between columns.
See also:
CSS3 Tutorial:CSS Multi-column
CSS Reference Manual:column-rule-width property
Example
Change the width of the rule between columns:
document.getElementById("myDIV").style.columnRuleWidth = "10px";
Syntax
Return columnRuleWidth property:
object.style.columnRuleWidth
Set columnRuleWidth property:
object.style.columnRuleWidth = "medium|thin|thick|length|initial|inherit"
Property Value
Value | Description |
---|---|
medium | Default Value. Defines a medium rule. |
thin | Defines the thin rule. |
thick | Defines the thickness of the 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. |
CSS Version: | CSS3 |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
- Previous Page columnRuleStyle
- Next Page columns
- Go to the Previous Level HTML DOM Style Object