Styl kolomWidth Eienskap
Voorbeeld
Verander die breedte van die kolomme:
document.getElementById("myDIV").style.columnWidth = "100px";
Definisie en gebruik
Die columnWidth-eienskap spesifiseer die breedte van die kolomme.
Blaaierondersteuning
Property | |||||
---|---|---|---|---|---|
columnWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Sintaksis
Gee die columnWidth-eienskap terug:
object.style.columnWidth
Stel die columnWidth-eienskap:
object.style.columnWidth = "auto|length|initial|inherit"
Eiendomswaardes
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 |
Tegniese besonderhede
Standaard waarde: | outo |
---|---|
Terugkeerwaarde: | 'n String, wat die kolomwydte-eienskap van 'n element verteenwoordig |
CSS weergawe | CSS3 |
Verwante bladsye
CSS3 handleiding: CSS3 Veelvuldige kolomme
CSS-verwysing: kolomwydte-eienskap
❮ Stylvoorwerp