我有一個問題,即在ie中顯示設置高度。在IE中的高度顯示不同於Firefox的
在我的CSS中,我已經設置了我的側邊欄div的高度爲2150px;它在Firefox中顯示得很好,但在ie中不顯示全高。
我怎樣才能得到ie顯示我在ie中設置的高度?
在此先感謝
源代碼如下
#sidebar_newspr{
width:160px;
min-height:2150px;
margin-top:1px; margin-right:2px;
border-right-style:solid; border-right-color:#900; border-right-width:1px;
float:left;
}
#sidebar_newspr a{
text-decoration:none;
color:#FFF;
font-size:12px; font-family:Verdana,Arial,Helvetica,sans-serif;
}
#sidebar_newspr a:hover{
color:#900;
}
在IE6中,高度就像最小高度一樣。 – 2010-05-05 12:51:49