足夠強烈,我的網站在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