我的網頁在Firefox中完美運行。但在IE中它沒有正確包裝。IE沒有環繞浮動div,但是FF是
父母DIV的兩列是:
.underbars
{
left:0;
right:0;
top: 140px;
position: absolute;
}
在這個div有2個的div,一個是浮動的其他應直接坐到浮動div的右側,究其原因,第二個div是不漂浮是因爲我想讓它佔據左邊的空間。在IE中,第二個div直接位於第一個div下方。
浮動DIV:(必須在左側)
.cabinetpane
{
border-right: 1px solid #c1c0c1;
border-right-style: solid;
border-bottom-style: solid;
border-right-width: 1px;
border-bottom-width: 1px;
border-right-color: #c1c0c1;
border-bottom-color: #c1c0c1;
font-size: 12px;
color: #3B4F65;
}
包裝DIV(應該是直接的權利,並採取了所有可用空間)
<div> </div> //No css for this one
你正在處理哪個IE版本? – 2012-07-06 23:34:49
我們可以有[小提琴](http://jsfiddle.net/)嗎? – 2012-07-07 00:01:38
當然。它的http://www.aussiehaulage.com。au /和im處理IE9 – michael 2012-07-07 00:24:43