สไตล์คอลัมน์คุณสมบัติ ความกว้างกฎ
ตัวอย่าง
เปลี่ยนความกว้างของกฎระหว่างคอลัมน์:
document.getElementById("myDIV").style.columnRuleWidth = "10px";
ความหมายและการใช้งาน
คุณสมบัติ columnRuleWidth ระบุความกว้างของกฎระหว่างคอลัมน์
รองรับเบราว์เซอร์
Property | |||||
---|---|---|---|---|---|
columnRuleWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
ไวยากรณ์
ส่งคืนคุณสมบัติ columnRuleWidth:
object.style.columnRuleWidth
ตั้งค่าคุณสมบัติ columnRuleWidth:
object.style.columnRuleWidth = "medium|thin|thick|length|initial|inherit"
มูลค่าทรัพย์สิน
Value | Description |
---|---|
medium | Default value. Defines a medium rule |
thin | Defines a thin rule |
thick | Defines a thick rule |
length | Specifies the width of the rule |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
รายละเอียดทางเทคนิค
ค่าเริ่มต้น: | ปานกลาง |
---|---|
คืนมูลค่า: | A String แทนคุณสมบัติ column-rule-width ของ element |
เวอร์ชัน CSS | CSS3 |
หน้าที่เกี่ยวข้อง
กวดวิชา CSS3: CSS3 หลายคอลัมน์
การอ้างอิง CSS: คุณสมบัติคอลัมน์กฎความกว้าง
❮ สไตล์วัตถุ