ie6的定位问题
首先是正常主流浏览器的写法
.fixed-top /* 头部固定 */{ position:fixed; bottom:auto; top:0px;}
.fixed-bottom /* 底部固定 */{ position:fixed; bottom:0px; top:auto;}
.fixed-left /* 左侧固定 */{ position:fixed; right:auto; left:0px;}.
fixed-right /* 右侧固定 */{ position:fixed; right:0px; left:auto;}
下面是万恶的ie6下写法

/* 先修正IE6振动bug */
* html,* html body {background-image:url(about:blank);background-attachment:fixed;}
/* IE6 头部固定 */
* html .fixed-top{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop));}
/* IE6 底部固定 */
* html .fixed-bottom {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)));}
/* IE6 左侧固定 */
* html .fixed-left {position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft));}
/* IE6 右侧固定 */
* html .fixed-right {position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft+document.documentElement.clientWidth-this.offsetWidth)-(parseInt(this.currentStyle.marginLeft,10)||0)-(parseInt(this.currentStyle.marginRight,10)||0));}