zoukankan      html  css  js  c++  java
  • IE6 css fixed

    .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 */

    * html,* html body{background-image:url(about:blank);background-attachment:fixed;}

    * html .fixed-top{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop));}

    * 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));}

    * 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)));}

    * html .fixed-left{position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft));}

  • 相关阅读:
    docker入门
    spring aop切面入门
    java 拉姆达 lamdba get
    Spring 3
    Spring 进阶二
    腾讯云 视频 点播 视频上传接口
    js 实时获取后台数据 Spring
    Spring 进阶一
    hibernate 第四天 重点查询的方式
    hibernate 第三天
  • 原文地址:https://www.cnblogs.com/gaotang/p/3062615.html
Copyright © 2011-2022 走看看