61,129
社区成员




<!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>
<style>
ul{ width:400px; height:250px; border:#000 solid 1px;}
li{ width:300px; height:25px; background:#CCC; margin:5px auto 5px 0; display:block; float:left;}
h1{ width:300px; height:1px; background:url(img/c2.gif) repeat-x; display:block; float:left;}
</style>
</head>
<body>
<ul>
<li></li><h1></h1>
<li><h1></h1></li>
</ul>
</body>
</html>
奇怪为什么h1总是在li的上面呢 怎么调都不行
效果如下 ie下全系列都是这样的
