足够强烈,我的网站在Internet Explorer中呈现良好,但在基于Mozilla的浏览器中失败。为什么这个div列不能一直走到正确的位置?
下面是截图:
有谁知道为什么“右面板中的”不走一路向右?你可以看到它是如何不与“顶板”右边缘一字排开:
#container
{
margin: 0 auto;
width: 750px;
background-color: #ffffff;
}
#top-panel
{
padding-left: 10px;
background-color: #000000;
text-align: left;
width: 100%;
height: 88px;
}
#left-panel
{
padding-top: 10px;
text-align: center;
background-color: #ffffff;
border-right: 1px dashed #000000;
float: left;
width: 250px;
}
#right-panel
{
background-color: #ffffff;
float: right;
width: 449px;
}
.clear
{
clear:both;
line-height:0;
}
如果有人想看到实际的网站是:Math Relay
尝试删除它,看看它是否排队:padding-left:10px;这可能会做到。 – kemiller2002 2009-11-18 20:49:36