问题描述
要在有序列表中获得粗体数字,可以写一下
ol {font-weight:bold}
ol span {font-weight:normal }
< ol>
< li>< span> ......< / span>< / li>
< li>< span> ......< / span>< / li>
< / ol>
还有更好的方法吗?
-
在记忆中Alan J. Flavell
To get bold numbers in ordered lists, one can write
ol { font-weight: bold }
ol span { font-weight: normal }
<ol>
<li><span>......</span></li>
<li><span>......</span></li>
</ol>
Is there a better way?
--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
推荐答案
有一种非常好的方法,使用
有序列表的语义等价物,这是一个两列表,您的要求具有一个简单的解决方案。
-
dorayme
There is a perfectly good way that uses the semantic equivalent of an
ordered list, a two column table, with which your requirement has a
simple solution.
--
dorayme
很好 - 对于CSS不足的浏览器来说它也会很好地降级。
-
Berg
Nice - and it degrades well for CSS deficient browsers, too.
--
Berg
Jonathan已经提到你知道谁......
Gregor
-
: :: Landschafts- und Reisefotografie
: :: meine JS-Spielwiese
: ::Bildagenturfürdenalpinen Raum
Jonathan already mentioned "you-know-who"...
Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
这篇关于有序列表中的粗体数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!