我有一个div在float:right的div下面。由于某种原因,第一个div无法应用顶部边距。以下是CSS:
#over{
width:80%;
float:right;
color:#e68200;
}
#under{
clear:both;
background:url(../images/anazitisi.png) no-repeat;
margin:10px auto; /*does not work!!!*/
width:95px;
height:20px;
}
有人知道发生了什么事吗?