2009-10-06 43 views
0

我正在開發的客戶端網站在FF,Safari,IE7,IE8中看起來很好。但IE6將頁腳浮動到頁面頂部!!!! ??ie 6 footer floating to top issue

該網站是在這裏: http://pssnet.com/~devone/myles/index.php 樣式表:http://pssnet.com/~devone/myles/css/style.css

的包裝,和頁腳的CSS如下。頁腳在包裝div內。感謝您的反饋。

.wrapper { 
    position: relative; 
    min-height: 730px; 
    height: auto !important; 
    width: 770px; 
    margin-left: 14%; 
    margin-right: 10%; 
    font-size: 10pt; 
    font-family: Arial, Helvetica, sans-serif; 
    color: #336666; 
    border-style: solid; 
    border-width: 0px;  
} 

#footer { 
    clear: both; 
    position: absolute; 
    bottom: 0px; 
    width: 100%; 
    height: 100px;   
    background: #CEF6CE; 
} 

回答

1

IE6不喜歡你的包裝中的最小高度。嘗試在最小高度下添加此項:

height:auto !important; 
height:730px; 
+0

謝謝。它部分工作。但是,更長的頁面仍然將頁腳放在IE6中間。 \t http://pssnet.com/~devone/myles2/profile.php – Natkeeran 2009-10-06 14:23:46

+0

現在,只有http://pssnet.com/~devone/myles2/howtosave.php頁面是問題....我動態加載此頁。 – Natkeeran 2009-10-06 14:27:18