代码之家  ›  专栏  ›  技术社区  ›  Natkeeran

ie 6页脚浮动到最上面一期

  •  0
  • Natkeeran  · 技术社区  · 17 年前

    我正在开发的客户端网站在FF、Safari、IE7、IE8中看起来不错。但是IE6将页脚浮动到页面顶部!!!!??

    网址如下: http://pssnet.com/~devone/myles/index.php http://pssnet.com/~devone/myles/css/style.css

    包装器和页脚css如下所示。页脚在包装器分区内。感谢您的反馈。

    .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 回复  |  直到 17 年前
        1
  •  1
  •   Mark    17 年前

    height:auto !important;
    height:730px;