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;}
  • 相关阅读:
    谷歌三架马车之 The Google File System 中文版
    数据集市 Data Mart
    VMware虚拟机ubuntu下安装VMware Tools步骤
    NOIP普及组 海港 题解
    HXD的DS
    离散化
    哈希表
    状态压缩DP 初探
    《信息学奥赛一本通》大盗阿福 题解
    NOIP 加工零件 题解
  • 原文地址:https://www.cnblogs.com/macil/p/2700427.html
Copyright © 2011-2022 走看看