Style columnRuleWidth 屬性
描述
columnRuleWidth 屬性指定列之間的分隔線的寬度。
瀏覽器支援
| 屬性 | |||||
|---|---|---|---|---|---|
| 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"
屬性值
| 值 | 描述 |
|---|---|
| medium | 預設值。定義一條中等寬度的分隔線 |
| thin | 定義一條細分隔線 |
| thick | 定義一條粗分隔線 |
| length | 指定分隔線的寬度 |
| initial | 將此屬性設定為其預設值。閱讀關於 initial |
| inherit | 從其父元素繼承此屬性。閱讀關於 inherit |
技術詳情
| 預設值 | medium |
|---|---|
| 返回值 | 一個字串,表示元素的 column-rule-width 屬性 |
| CSS 版本 | CSS3 |
相關頁面
CSS3 教程:CSS3 多列布局
CSS 參考:column-rule-width 屬性