1.浮动层固定底部IE6 position:fixed不起作用
我在网上查到的解决方案:固定底部
*html{
background-image:url(about:blank);
background-attachment:fixed;
}
.footfixed{
width:100%;
height:140px; /* 图片大小,宽度必须100% */
position:fixed;
bottom:0; /*固定定位,固定在浏览器底部。*/
z-index: 99999; /*为了让DIV永远在最前面,不被其他元素遮住*/
_position: absolute;
_bottom: auto;
_top: expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));
}
2.
正常效果:
实际效果i6:
那啥,请先忽视i6透明图片不透明的bug吧,这样到底问题出在哪了呢?想不明白?
试试