嵌套列表显示1.1 [英] nested list to show 1.1

查看:78
本文介绍了嵌套列表显示1.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个聪明的方法,或任何方式,有一个嵌套列表

显示1.1,1.2,1.3 ...... 2.1,2.2等?

Is there a clever way, or any way for that matter, to have a nested list
show 1.1, 1.2, 1.3...2.1, 2.2, etc?

推荐答案

mlf< vz ** @ verzon.net>写道:
mlf <vz**@verzon.net> wrote:
有一个聪明的方法,或任何方式,有一个嵌套的
列表显示1.1,1.2,1.3 ...... 2.1,2.2等?
Is there a clever way, or any way for that matter, to have a nested
list show 1.1, 1.2, 1.3...2.1, 2.2, etc?




不在CSS当前定义和实现。最好的方法是

将数字包含在列表项中,并使用< ul>

标记以及list-style-type:none。


-

Yucca, http://www.cs.tut.fi/~jkorpela/


Jukka K. Korpela写道:
Jukka K. Korpela wrote:
mlf< vz ** @ verzon.net>写道:

mlf <vz**@verzon.net> wrote:

有一个聪明的方法,或任何方式,有一个嵌套的
列表显示1.1,1.2,1.3 ...... 2.1 ,2.2等?
Is there a clever way, or any way for that matter, to have a nested
list show 1.1, 1.2, 1.3...2.1, 2.2, etc?



不在CSS当前定义和实现。最好的方法是将数字包含在列表项中,并使用< ul>
标记和list-style-type:none。


Not in CSS as currently defined and implemented. The best approach is
to include the numbers into the list items themselves and use <ul>
markup together with list-style-type: none.




....并希望列表项文本不会换行。或者玩

margin-,padding-left和negative text-indent。

-

Johannes Koch

在te domine speravi;非永久性的东西。

(Te Deum,4美分。)



.... and hope that the list item text does not wrap. Or play with
margin-, padding-left and negative text-indent.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)


2005年3月7日星期一22:16:45 GMT mlf写道:
On Mon, 07 Mar 2005 22:16:45 GMT mlf wrote:
有一个聪明的方法,或任何方式,有一个嵌套列表
显示1.1,1.2,1.3 ...... 2.1,2.2等?
Is there a clever way, or any way for that matter, to have a nested list
show 1.1, 1.2, 1.3...2.1, 2.2, etc?




有关csss版本,请参阅 www.suckerfish .org

javascript版本见 www.4thorder.us

如需工作演示,请参阅 www.somestuff.batcave.net



For a csss version see www.suckerfish.org
javascript version see www.4thorder.us
For a working demo see www.somestuff.batcave.net


这篇关于嵌套列表显示1.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆