zoukankan      html  css  js  c++  java
  • 解决IE 6.0 position 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;}
    
    * 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));} .fixed-bottom { width: 260px; height:210px; position: fixed; bottom:10px;}
  • 相关阅读:
    gsm at 指令
    wm8976 codec
    【Gym 100971J】Robots at Warehouse
    【XDU1144】合并模板
    腾讯云CentOS7安装LNMP+wordpress
    【USACO1.1】Broken Necklace
    【校赛小分队之我们有个女生】训练赛6
    【计导作业】——商品记录
    C 文件读写2
    C 文件读写1
  • 原文地址:https://www.cnblogs.com/macil/p/2700427.html
Copyright © 2011-2022 走看看