Kolom gayaRuleStyleProperti _
Contoh
Ubah gaya aturan antar kolom:
document.getElementById("myDIV").style.columnRuleStyle = "dotted";
Definisi dan Penggunaan
Properti columnRuleStyle menentukan gaya aturan di antara kolom.
Dukungan Peramban
Property | |||||
---|---|---|---|---|---|
columnRuleStyle | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
Sintaksis
Kembalikan properti columnRuleStyle:
object.style.columnRuleStyle
Setel properti columnRuleStyle:
object.style.columnRuleStyle = "none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|
initial|inherit"
Nilai properti
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 |
Detail Teknis
Nilai Bawaan: | tidak ada |
---|---|
Nilai Kembali: | Sebuah String, mewakili properti gaya-aturan kolom dari suatu elemen |
Versi CSS | CSS3 |
Halaman Terkait
Tutorial CSS3: Beberapa Kolom CSS3
Referensi CSS: properti gaya aturan kolom
Objek Gaya