Style columnRuleWidth Property
Przykład
Zmień szerokość reguły między kolumnami:
document.getElementById("myDIV").style.columnRuleWidth = "10px";
Definicja i użycie
Właściwość columnRuleWidth określa szerokość reguły między kolumnami.
Obsługa przeglądarki
Property | |||||
---|---|---|---|---|---|
columnRuleWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Składnia
Zwróć właściwość columnRuleWidth:
object.style.columnRuleWidth
Ustaw właściwość columnRuleWidth:
object.style.columnRuleWidth = "medium|thin|thick|length|initial|inherit"
Wartości nieruchomości
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 |
Szczegóły techniczne
Domyślna wartość: | średni |
---|---|
Wartość zwrotu: | String, reprezentujący właściwość column-rule-width elementu |
Wersja CSS | CSS3 |
Powiązane strony
Samouczek CSS3: Wiele kolumn CSS3
Dokumentacja CSS: właściwość column-rule-width
❮ Obiekt stylu