我正在使用 Windows mobile 测试我的移动应用程序。我在页脚部分遇到了一些问题。问题与页脚修复有关。当我滚动内容时,页脚也起来了。但是页脚在所有浏览器中都是固定的,包括 IE 和除 windows 版本之外的所有手机。
查看代码,对于我给的 IE,
* html #footer {
   position:absolute;
   top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
}
编辑:
html, body {height: 100%;}
#wrapper {min-height: 100%;}
#footer {
    position:fixed; z-index:999;
    width:100%;
    bottom:-20px;
    margin-top: -72px; /* negative value of footer height */
    margin-top: 0px !ie; /* for IE */
    height: 92px;
    clear:both; text-align:center;
    background:url(../../) repeat-x #115c9c;
    }