我頁面的#footerdetails div完全定位並固定在底部。 (我知道,IE問題iminent)IE 7兼容模式位置:絕對錯誤
反正... http://talga.sanscode.com/blog
看看在IE 7中(即8 COMPAT)頁腳。在屏幕的右側有一個數字。
在所有其他瀏覽器中,它位於應該位於的左側。
任何想法如何解決這個問題?
傑森
我頁面的#footerdetails div完全定位並固定在底部。 (我知道,IE問題iminent)IE 7兼容模式位置:絕對錯誤
反正... http://talga.sanscode.com/blog
看看在IE 7中(即8 COMPAT)頁腳。在屏幕的右側有一個數字。
在所有其他瀏覽器中,它位於應該位於的左側。
任何想法如何解決這個問題?
傑森
@jason;
我在IE中看到它,你可能需要爲你的#footerdetails div定義width
like width:200px;
,因爲在IE7裏面是屏幕的width 100%
。
CSS
#footerdetails {
color: #FFFFFF;
display: block;
height: 100px;
left: 0;
position:fixed;
text-align: right;
top: 0;
width: 200px;
z-index: 100;
}
IE 7沒有做position:fixed
,你能不能使它絕對的側邊欄? 試試這個:
HTML:
<div id="sidebarmenu_container">
<ul id="sidebarmenu"/>
<div id="footerdetails"/>
</div>
CSS:
#sidebarmenu_container {
position: relative;
}
#footerdetails {
position: absolute; //instead of position: fixed;
}
我想,因爲我看不到的問題,這是固定的嗎?然而,我注意到你沒有在右邊的IE7中的RSS源和鏈接,就像你在其他瀏覽器版本中一樣。 – 2011-05-06 08:35:12
你好,非常感謝 – Jason 2011-05-07 05:26:59