嗯,我認爲,這是一個不尋常的問題。那麼我有一個網頁與絕對位置開始div。100%寬度div在IE中無法正確顯示
.head_warp
{
width:100%;
display:block;
height:238px;
margin:0 auto;
padding:0;
position:absolute;
text-align:center;
background-image:url(images/demo6_fon.png);
background-position:center;
background-position:top;
background-repeat:repeat-x;
z-index:-9999;
}
之後,我有一個容器
#container_out
{
width:1024px;
margin:0 auto;
}
的HTML是這樣:
<div class="head_warp"></div>
<div id="container_out"></div>
的想法是顯示了在「容器」的內容的「 head_warp「,在我測試過的任何瀏覽器中都可以。 Chrome,FF,Safari甚至使用IE8和IE7。但我的同事是與IE8的Windows VISTA和看看結果是什麼 alt text http://www.pechat.mdkbg.com/problem.jpg
什麼問題?
在IE
我想到了這一點,但在頁面右下角的我的身體的背景女巫是設計的一部分。 – Victor 2010-07-09 08:46:19