Graphical CSS (9): List

Source: Internet
Author: User
Tags html tags

list-style-type   (指定类型)
list-style-image  (指定图片)
list-style-position (指定位置)
list-style     (综合设置)
marker-offset    (不支持)

Use List-style can be set individually or synthetically: type, picture, position, no order;

If both the picture and the type are set, the picture replaces the type; Use the type if the picture fails.

List-style-type:disc    (实心圆, 默认)
circle   (空心圆)
square   (实心方块)
decimal   (阿拉伯数字)
lower-roman (小写罗马数字)
upper-roman (大写罗马数字)
lower-alpha (小写英文字母)
upper-alpha (大写英文字母)
none    (无项目符号)
还有很多不支持的...

List-style-image:

List-style-position:outside (default), inside;

To set a style for a list item individually:

List-related HTML tags:ol: 有序列表
ul: 无序列表
li: 列表项
dl: 块
dt: 块标题
dd: 块内容
<ul dynamicoutline initcollapsed>
dynamicoutline: 可折叠
initcollapsed: 开始就折叠

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.