<OL>或ul里的<Li,是不是横着排(float:left) 显示不了数字啊
<ol> <li style="float:left; width:143px;">aa</li> <li>bb</li> </ol>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title><style type="text/css">#conn{background-color:#c00;width:260px;font-size:18px;}#conn ul{border:1px solid #ddd;background-color:red;float:left;width:260px;}#conn ul li{float:left;border:1px solid #333;background-color:#fff;list-style-position:inside;} </style></head><body><div id="conn"><ul> <li>a</li> <li>b</li> <li>c</li> <li>d</li> <li>e</li></ul></div></body></html>
[解决办法]
建议你做一下偏移,把内容向右边做一下相对定位!