สไตล์คอลัมน์RuleStyle Property
ตัวอย่าง
เปลี่ยนรูปแบบของกฎระหว่างคอลัมน์:
document.getElementById("myDIV").style.columnRuleStyle = "dotted";
ความหมายและการใช้งาน
คุณสมบัติ columnRuleStyle ระบุรูปแบบของกฎระหว่างคอลัมน์
รองรับเบราว์เซอร์
Property | |||||
---|---|---|---|---|---|
columnRuleStyle | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
ไวยากรณ์
ส่งคืนคุณสมบัติ columnRuleStyle:
object.style.columnRuleStyle
ตั้งค่าคุณสมบัติ columnRuleStyle:
object.style.columnRuleStyle = "none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|
initial|inherit"
มูลค่าทรัพย์สิน
Value | Description |
---|---|
none | Default value. Defines no rule |
hidden | Defines a hidden rule |
dotted | Defines a dotted rule |
dashed | Defines a dashed rule |
solid | Defines a solid rule |
double | Defines a double rule |
groove | Specifies a 3D grooved rule. The effect depends on the width and color values |
ridge | Specifies a 3D ridged rule. The effect depends on the width and color values |
inset | Specifies a 3D inset rule. The effect depends on the width and color values |
outset | Specifies a 3D outset rule. The effect depends on the width and color values |
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: คุณสมบัติสไตล์กฎคอลัมน์
❮ สไตล์วัตถุ