Stil columnWidth Özellik
Örnek
Sütunların genişliğini değiştirin:
document.getElementById("myDIV").style.columnWidth = "100px";
Tanım ve Kullanım
columnWidth özelliği, sütunların genişliğini belirtir.
Tarayıcı Desteği
Property | |||||
---|---|---|---|---|---|
columnWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Sözdizimi
columnWidth özelliğini döndürün:
object.style.columnWidth
columnWidth özelliğini ayarlayın:
object.style.columnWidth = "auto|length|initial|inherit"
Mülk değerleri
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 |
Teknik detaylar
Varsayılan değer: | Oto |
---|---|
Geri dönüş değeri: | Bir öğenin sütun genişliği özelliğini temsil eden bir Dize |
CSS Sürümü | CSS3 |
İlgili Sayfalar
CSS3 öğreticisi: CSS3 Çoklu Sütunları
CSS referansı: sütun genişliği özelliği
❮ Stil Nesnesi