求大神 解答 background position 定位问题 及解决为啥我的ul 不能一行过这样子
<!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>3.10新闻中心制作评测题</title>
<style type="text/css">
a{text-decoration:none;color:black;}
.topList{
width:300px;
height:180px;
border:1px solid;
color:#E8E8E8;
}
.topList ul{
list-style-type:none;
padding:5px;
}
em{
text-align:center;
font-style:normal;
display:block;
width:20px;
height:16px;
color:#333;
float:left;
background-image:url(http://img1.sycdn.imooc.com//53cf0fa20001d3dc00200032.jpg);
background-position:0px 16px;
}
.top em{
background-image:url(http://img1.sycdn.imooc.com//53cf0fa20001d3dc00200032.jpg);
background-position:16px 0px;
}
a :link,a:visted{
text-decoration:none;
color:#000;
}
a:active,a:hover{
color:#f00;
}
</style>
</head>
<body>
<div class="topList">
<ul>
<li class="top"><em>01</em>
<p><a href="http://www.imooc.com/" >【慕客访谈用户篇】“有为屌丝”在路上</a></p>
</li>
<li class="top"><em>02</em>
<p><a href="http://www.imooc.com/">【有奖活动】给父亲的三行书信</a></p>
</li>
<li class="top"><em>03</em>
<p><a href="http://www.imooc.com/">《程序猿,请晒出你的童年》活动获奖公告</a></p>
</li>
<li><em>04</em>
<p><a href="http://www.imooc.com/">【慕课访谈】破茧成蝶——美女程序员的蜕变史</a></p>
</li>
<li><em>05</em>
<p><a href="http://www.imooc.com/">【获奖公告】追“球”巅峰,争当“预言帝”</a></p>
</li>
<li><em>06</em>
<p><a href="http://www.imooc.com/">【问卷调查】慕课网用户学习情况大调查</a></p>
</li>
</ul>
</div>
</body>