css 样式 给<li>标签 里面的的字 下面加一个下划线。

有那种 ............................ 这种的。

第1个回答  2011-05-12
<body>
<ol>
<li style ="text-decoration: underline ">XXXX</li>
<li style ="text-decoration: underline ">XXXX</li>
<li style ="text-decoration: underline ">XXXX</li>
<li style ="text-decoration: underline ">XXXX</li>
</ol>
</body>本回答被提问者采纳
第2个回答  2012-04-16
或者 给 li{ border-bottpm:1px #ccc dashed;}
第3个回答  2011-05-12
TEXT-DECORATION: underline
-----------------------------------------------------------------------------------------
boder-bottom:1px dashed #ccc;
第4个回答  2011-05-12
li {
text-decoration:underline;
}
相似回答