สไตล์คอลัมน์กรอกพ ร็อพเพอร์ ตี้
ตัวอย่าง
ระบุวิธีการเติมคอลัมน์:
document.getElementById("myDIV").style.columnFill = "balance";
ความหมายและการใช้งาน
คุณสมบัติ columnFill ระบุวิธีการเติมคอลัมน์ สมดุลหรือไม่
รองรับเบราว์เซอร์
Property | |||||
---|---|---|---|---|---|
columnFill | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
ไวยากรณ์
ส่งคืนคุณสมบัติคอลัมน์เติม:
object.style.columnFill
ตั้งค่าคุณสมบัติการเติมคอลัมน์:
object.style.columnFill = "balance|auto|initial|inherit"
มูลค่าทรัพย์สิน
Value | Description |
---|---|
balance | Default value. Columns are balanced. Browsers should minimize the variation in column length |
auto | Columns are filled sequentially, and they will have different lengths |
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: คุณสมบัติการเติมคอลัมน์
❮ สไตล์วัตถุ