黄聪:IE6如何实现悬浮框的兼容CSS代码

position: fixed; /*IE6以外的兼容*/
_position:absolute;/*兼容IE6的代码*/
_bottom:auto;/*兼容IE6的代码*/
_top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));
/*兼容IE6的代码*/ border: 2px solid #4AA700; /* 其余显示代码 */ display: block; z-index: 999; 290px; bottom: 0px; right: 0px; background:#FFF; padding:10px;

郁闷,悬浮框做了N久,今天才有人反映网站的悬浮框一直在下面不动。后面修改成上面的代码,就OK了

原文地址:https://www.cnblogs.com/huangcong/p/2656777.html