Css Hack 大全(IE六、IE七、IE八、IE9 css hack)

Css Hack 大全(IE六、IE七、IE八、IE9 css hack)

 

1、IE6 css hackcss

1. *html Selector {} /* Selector 表示 css選擇器 下同 */
2. Selector { _property: value; } /* property: value 表示 css 的屬性名: 屬性值 下同 */
3. Selector { _property/**/: /**/value; }
4. Selector { -property: value; } /*IE6 css hack經常使用習慣推薦使用下劃線_ */

2、IE7 css hackhtml

1. *+html Selector {}
2. *:first-child+html Selector {}

3、IE8 css hackweb

Selector { /* 注意看value值的 */
    property: value1; /* W3C MODEL */
    property: value2\0; /* IE 8+ */
    property: value1\9\0; /* IE 9+ */
}

4、IE六、IE七、IE8共有的css hackpost

Selector { property: value\9; }

5、IE六、IE7共有的css hack:htm

1. Selector { *property: value; }
2. Selector { #property: value; }
3. Selector { +property: value; }

6、IE8+ css hackget

Selector { property: value\0; }

7、IE9+ css hackit

Selector { property: value\9\0; }


相關文章
相關標籤/搜索