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吧,这样到底问题出在哪了呢?想不明白?
ie6下面用js模拟position: fixed;javascript ie6兼容position:fixed实现思路
ie6 放弃吧。 放弃 fix吧。
和产品解释,就说浏览器不支持,没有办法。 连QQ空间都不做
ie6不支持png,这个也是没有办法,忽略吧。
ie6最低保证功能能用就可以,视觉让他去吧
试试
/* 除IE6浏览器的通用方法 */
.ie6fixedTL{position:fixed;left:0;top:0}
.ie6fixedBR{position:fixed;right:0;bottom:0}
/* IE6浏览器的特有方法 */