CSS 列表属性(list)
CSS 列表属性允许你放置、更改列表标记,或者将图像作为列表标记。
浏览器支持:IE: Internet Explorer, F: Firefox, N: Netscape。
W3C:“W3C”列的数字显示出列表属性由哪个CSS标准定义(CSS1还是CSS2)。
| 属性 |
描述 |
值 |
IE |
F |
N |
W3C |
| list-style |
简写属性。用于将所有用于列表的属性设置于一个声明之中。 |
- list-style-type
- list-style-position
- list-style-image
|
4 |
1 |
6 |
1 |
| list-style-image |
将图象设置为列表项标记 |
|
4 |
1 |
6 |
1 |
| list-style-position |
设置列表中列表项标记被放置的位置 |
|
4 |
1 |
6 |
1 |
| list-style-type |
设置列表项标记的类型 |
- none
- disc
- circle
- square
- decimal
- decimal-leading-zero
- lower-roman
- upper-roman
- lower-alpha
- upper-alpha
- lower-greek
- lower-latin
- upper-latin
- hebrew
- armenian
- georgian
- cjk-ideographic
- hiragana
- katakana
- hiragana-iroha
- katakana-iroha
|
4 |
1 |
4 |
1 |
| marker-offset |
|
|
|
1 |
7 |
2 |