Browsing articles in "html-css"
Nov
2
2009

position: fixed in IE

/*Make position:fixed work in IE6!*/ .fixed-top /* position fixed Top */{position:fixed;bottom:auto;top:0px;} .fixed-bottom /* position fixed Bottom */{position:fixed;bottom:0px;top:auto;} .fixed-left /* position fixed Left */{position:fixed;right:auto;left:0px;} .fixed-right /* position fixed right */{position:fixed;right:0px;left:auto;} * html,* html body /* IE6 Fixed Position Jitter Fix */{background-image:url(about:blank);background-attachment:fixed;} * html .fixed-top /* IE6 position fixed Top */{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop));} * html .fixed-right /* IE6 position 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 /* IE6 position 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 /* IE6 position fixed Left [...]

Oct
21
2009

10 Thủ thuật CSS mà bạn cần biết – Phần I

10 Thủ thuật CSS mà bạn cần biết – Phần I Trong quá trình thực hành và làm việc với CSSCascading Style Sheets chúng ta sẽ gặp những vấn đề xảy ra rất thường xuyên, để giải quyết chúng một cách nhanh chóng thì chúng ta cần phải biến những cách xử lý của các vấn đề đó trở thành những phản xạ của riêng mình. Do đó trong bài viết này tôi xin tổng [...]

Pages:«12

Sponsors