需要一个ol / li来显示1.1

时间:2012-09-07 17:52:07

标签: html css html-lists

  

可能重复:
  Achieving sub numbering on ol items html
  Can ordered list produce result that looks like 1.1, 1.2, 1.3 (instead of just 1, 2, 3, …) with css?

我需要一个列表,将数字显示为1.1而不是1。

基本上,在css / html中是否有一种方法可以使列表显示为x.x或x.x.x?我知道有一个参数可以使它成为罗马数字(I,II,III,VI,V)或字母(a,b,c,d,e),但是你可以将ol / li显示为子数字(1.1,1.2) ,1.3,1.4,1.5)?

0 个答案:

没有答案