<head>
<style>
li,ul{padding:0px; margin:0px; list-style:none;}
#pull
{
margin-top:90px;
position:absolute;
}
#pull span{ background:#94948C; }
#pull li
{
margin-top:1px;
background:#CCCCCC;
}
#pull a
{ font-size:16px;
padding:0 20px;
color:White;
display:block;
line-height:34px;
}
</style>
</head>
<body>
<div id="pull">
<span><a href="javascript:" style="">展开</a></span>
<ul>
<li><a href="javascript:">abc</a></li>
<li><a href="javascript:">bcd</a></li>
</ul>
</div>
</body>
</html>
这段代码 为什么span不显示?
<style>
li,ul{padding:0px; margin:0px; list-style:none;}
#pull
{
margin-top:90px;
position:absolute;
}
#pull span{ background:#94948C; }
#pull li
{
margin-top:1px;
background:#CCCCCC;
}
#pull a
{ font-size:16px;
padding:0 20px;
color:White;
display:block;
line-height:34px;
}
</style>
</head>
<body>
<div id="pull">
<span><a href="javascript:" style="">展开</a></span>
<ul>
<li><a href="javascript:">abc</a></li>
<li><a href="javascript:">bcd</a></li>
</ul>
</div>
</body>
</html>
这段代码 为什么span不显示?