Propriété de style columnWidth
Exemple
Modifiez la largeur des colonnes :
document.getElementById("myDIV").style.columnWidth = "100px";
Définition et utilisation
La propriété columnWidth spécifie la largeur des colonnes.
Prise en charge du navigateur
Property | |||||
---|---|---|---|---|---|
columnWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Syntaxe
Renvoyez la propriété columnWidth :
object.style.columnWidth
Définissez la propriété columnWidth :
object.style.columnWidth = "auto|length|initial|inherit"
Valeurs de propriété
Value | Description |
---|---|
auto | Deafult value. The column width will be determined by the browser |
length | A length that specifies the width of the columns |
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: | auto |
---|---|
Valeur de retour : | Une chaîne, représentant la propriété de largeur de colonne d'un élément |
Version CSS | CSS3 |
Pages connexes
Tutoriel CSS3 : Colonnes multiples CSS3
Référence CSS : propriété de largeur de colonne
❮ Objet de style