शैली कॉलमविड्थ संपत्ति
उदाहरण
कॉलम की चौड़ाई बदलें:
document.getElementById("myDIV").style.columnWidth = "100px";
परिभाषा और उपयोग
कॉलमविड्थ गुण कॉलम की चौड़ाई निर्दिष्ट करता है।
ब्राउज़र समर्थन
Property | |||||
---|---|---|---|---|---|
columnWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
वाक्य - विन्यास
कॉलमविड्थ संपत्ति लौटाएं:
object.style.columnWidth
कॉलमविड्थ संपत्ति सेट करें:
object.style.columnWidth = "auto|length|initial|inherit"
सम्पत्ति की कीमत
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 |
टेक्निकल डिटेल
डिफ़ॉल्ट मान: | ऑटो |
---|---|
प्रतिलाभ की मात्रा: | एक स्ट्रिंग, एक तत्व की कॉलम-चौड़ाई संपत्ति का प्रतिनिधित्व करती है |
सीएसएस संस्करण | CSS3 |
संबंधित पृष्ठ
CSS3 ट्यूटोरियल: CSS3 एकाधिक कॉलम
CSS संदर्भ: स्तंभ-चौड़ाई गुण
❮ स्टाइल ऑब्जेक्ट