Stile columnRuleWidth Proprietà
Esempio
Modifica la larghezza della regola tra le colonne:
document.getElementById("myDIV").style.columnRuleWidth = "10px";
Definizione e utilizzo
La proprietà columnRuleWidth specifica la larghezza della regola tra le colonne.
Supporto browser
Property | |||||
---|---|---|---|---|---|
columnRuleWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Sintassi
Restituisce la proprietà columnRuleWidth:
object.style.columnRuleWidth
Imposta la proprietà columnRuleWidth:
object.style.columnRuleWidth = "medium|thin|thick|length|initial|inherit"
Valori di proprietà
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 |
Dettagli tecnici
Valore di default: | medio |
---|---|
Valore di ritorno: | Un oggetto String, che rappresenta la proprietà column-rule-width di un elemento |
Versione CSS | CSS3 |
Pagine correlate
Tutorial CSS3: CSS3 più colonne
Riferimento CSS: proprietà column-rule-width
❮ Oggetto stile