สไตล์คอลัมน์คุณสมบัติ ความกว้าง
ตัวอย่าง
เปลี่ยนความกว้างของคอลัมน์:
document.getElementById("myDIV").style.columnWidth = "100px";
ความหมายและการใช้งาน
คุณสมบัติ columnWidth ระบุความกว้างของคอลัมน์
รองรับเบราว์เซอร์
Property | |||||
---|---|---|---|---|---|
columnWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
ไวยากรณ์
ส่งคืนคุณสมบัติ columnWidth:
object.style.columnWidth
ตั้งค่าคุณสมบัติ 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 |
รายละเอียดทางเทคนิค
ค่าเริ่มต้น: | รถยนต์ |
---|---|
คืนมูลค่า: | สตริงที่แสดงถึงคุณสมบัติความกว้างคอลัมน์ขององค์ประกอบ |
เวอร์ชัน CSS | CSS3 |
หน้าที่เกี่ยวข้อง
กวดวิชา CSS3: CSS3 หลายคอลัมน์
การอ้างอิง CSS: คุณสมบัติความกว้างคอลัมน์
❮ สไตล์วัตถุ