Propriété columnRuleWidth de style
Exemple
Modifiez la largeur de la règle entre les colonnes :
document.getElementById("myDIV").style.columnRuleWidth = "10px";
Définition et utilisation
La propriété columnRuleWidth spécifie la largeur de la règle entre les colonnes.
Prise en charge du navigateur
Property | |||||
---|---|---|---|---|---|
columnRuleWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Syntaxe
Renvoyez la propriété columnRuleWidth :
object.style.columnRuleWidth
Définissez la propriété columnRuleWidth :
object.style.columnRuleWidth = "medium|thin|thick|length|initial|inherit"
Valeurs de propriété
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 |
Détails techniques
Valeur par défaut: | moyen |
---|---|
Valeur de retour : | Une chaîne, représentant la propriété column-rule-width d'un élément |
Version CSS | CSS3 |
Pages connexes
Tutoriel CSS3 : Colonnes multiples CSS3
Référence CSS : propriété column-rule-width
❮ Objet de style