YouTip LogoYouTip

Prop Style Columnrulecolor

# Style columnRuleColor Property [![Image 8: Style Object Reference](#) Style Object](#) ## Example Set the color rule between columns: document.getElementById("myDIV").style.columnRuleColor="blue"; [Try it Yourself Β»](#) * * * ## Definition and Usage The columnRuleColor property sets the color rule between columns. * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) Internet Explorer 10 and Opera support the columnRuleColor property. Firefox supports an alternative property, MozColumnRuleColor. Safari and Chrome support an alternative property, WebkitColumnRuleColor. * * * ## Syntax Get the columnRuleColor property: _object_.style.columnRuleColor Set the columnRuleColor property: _object_.style.columnRuleColor="_color_|initial|inherit" ## Property Values | Value | Description | | --- | --- | | _color_ | Specifies the color rule. For a complete list of possible color values, see (#). | | initial | Sets this property to its default value. See (#). | | inherit | Inherits this property from its parent element. See (#). | ## Technical Details | Default Value: | The current color of the element | | --- | | Return Value: | A String, representing the column-rule-color property of the element. | | CSS Version | CSS3 | * * * ## Related Articles CSS3 Tutorial: (#) CSS Reference: (#) * * Style Object](#)
← Prop Style ColumnrulestyleProp Style Columnrule β†’