スタイルcolumnRuleWidthプロパティ
例
列間のルールの幅を変更します。
document.getElementById("myDIV").style.columnRuleWidth = "10px";
定義と使用法
columnRuleWidthプロパティは、列間のルールの幅を指定します。
ブラウザのサポート
Property | |||||
---|---|---|---|---|---|
columnRuleWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
構文
columnRuleWidthプロパティを返します。
object.style.columnRuleWidth
columnRuleWidthプロパティを設定します。
object.style.columnRuleWidth = "medium|thin|thick|length|initial|inherit"
プロパティ値
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. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
技術的な詳細
デフォルト値: | 中くらい |
---|---|
戻り値: | 要素のcolumn-rule-widthプロパティを表す文字列 |
CSSバージョン | CSS3 |
関連ページ
CSS3チュートリアル:CSS3複数列
CSSリファレンス:column-rule-widthプロパティ
❮スタイルオブジェクト