css3去list点,CSS LIST-STYLE

This shorthand property is used when the author wishes to change the default display characteristics of list-markers in HTML list structures. An author can specify location of the marker, a graphic to be used and/or a standard set of symbols. Keywords may come in any order, but using multiple keywords that control the same behavior is not allowed. If a [list-style-image] is specified for the list marker, it will be used in place of any [list-style-type] also specified. Nevertheless, a [list-style-type] should always be specified in the event the [list-style-image] can not be loaded. A value of ‘none’ for the ‘list-style’ property should set both ‘list-style-type’ and ‘list-style-image’ to ‘none.’

Example

ul {

list-style: square inside url(http://www.foo.com/bullet.gif)

}

2 Responses

9307a11bd7fdac777ac82fa057b6d798?s=80&d=http%3A%2F%2Fwww.css3.com%2Fwp-content%2Fthemes%2Fconvergence%2Fimages%2Fdefault_avatar_visitor.gif&r=g

2.21.2009

Hi folks

Just starting to explore CSS3 … but unable to find a workaround for ordered lists that break off and then continue their numbering, eg:

and

Important for HTML presentation of block quotes of legal documents etc.

Can you help?

Jack

6bf899a39f4f82921c99b8caf7e0ef43?s=80&d=http%3A%2F%2Fwww.css3.com%2Fwp-content%2Fthemes%2Fconvergence%2Fimages%2Fdefault_avatar_visitor.gif&r=g

6.10.2009

Jack,

If you’re still looking for an answer, try the counter-increment and counter-reset properties. A good article can be found at:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值