Properti Lebar kolom gaya
Contoh
Ubah lebar kolom:
document.getElementById("myDIV").style.columnWidth = "100px";
Definisi dan Penggunaan
Properti columnWidth menentukan lebar kolom.
Dukungan Peramban
Property | |||||
---|---|---|---|---|---|
columnWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Sintaksis
Kembalikan properti columnWidth:
object.style.columnWidth
Setel properti columnWidth:
object.style.columnWidth = "auto|length|initial|inherit"
Nilai properti
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 |
Detail Teknis
Nilai Bawaan: | mobil |
---|---|
Nilai Kembali: | Sebuah String, mewakili properti lebar kolom dari suatu elemen |
Versi CSS | CSS3 |
Halaman Terkait
Tutorial CSS3: Beberapa Kolom CSS3
Referensi CSS: properti lebar kolom
Objek Gaya