CSS hack 完全手册 ( IE5.5 IE6 IE7 FF Opera Safari Chrome )
2008-11-05 09:41
519 查看
以下是 风干的果子 整理出来的CSS hack 方法。
-------------------------------------------------------------------------------- 区别IE和w3c的方法
.hack {
width:600px; /* FF */
* width:700px; /* IE */
}
-------------------------------------------------------------------------------- 区别 IE5.5、IE6、IE7、w3c .qq{ background:#f00; /* w3c*/
*background:#00f!important; /* IE7 */
_background:#0f0; /* IE6 */
_background /**/:#ccc /* IE5.5 */ } -------------------------------------------------------------------------------- 针对Opera、Safari 、Chrome
.qq { background: #000; } /* IE FF */ @media all and (min-width:0px){
.qq { background: #000; } /* Opera、Safari 、Chrome */
} --------------------------------------------------------------------------------
-------------------------------------------------------------------------------- 区别IE和w3c的方法
.hack {
width:600px; /* FF */
* width:700px; /* IE */
}
-------------------------------------------------------------------------------- 区别 IE5.5、IE6、IE7、w3c .qq{ background:#f00; /* w3c*/
*background:#00f!important; /* IE7 */
_background:#0f0; /* IE6 */
_background /**/:#ccc /* IE5.5 */ } -------------------------------------------------------------------------------- 针对Opera、Safari 、Chrome
.qq { background: #000; } /* IE FF */ @media all and (min-width:0px){
.qq { background: #000; } /* Opera、Safari 、Chrome */
} --------------------------------------------------------------------------------
相关文章推荐
- JS Cookies 函数 通过IE6、IE7,IE8,FF,Safari,Chrome,Opera
- CSS Hack(Safari、Opera、Chrome、IE6、IE7、 IE8和IE9)
- 多图片上传+图片预览,兼容所有浏览器 IE5/IE6/IE7/IE8/IE9/Chrome/Safari/Firefox/Opera/
- 多图片上传+图片预览,兼容所有浏览器 IE5/IE6/IE7/IE8/IE9/Chrome/Safari/Firefox/Opera/
- JS Cookies 函数通过IE6、IE7,IE8,FF,Safari,Chrome,Opera
- 史上最全的css hack(ie6-9,firefox,chrome,opera,safari)
- Css Hack(IE,FF,Chrome,Opera)
- 史上最全的css hack(ie6-9,firefox,chrome,opera,safari)
- Chrome、Firefox、IE6|IE7|IE8、Opera、Safari CSS HACK
- js代码判断浏览器种类IE、FF、Opera、Safari、chrome及版本
- CSS HACK 兼容列表 Firefox, IE5, IE5.5, IE6, IE7, IE8
- css hack(ie6-9,firefox,chrome,opera,safari)
- IE6、IE7、IE8、Firefox、Opera、谷歌浏览器、Safari CSS hack区分,浏览器兼容性
- CSS HACK 兼容列表 Firefox, IE5, IE5.5, IE6, IE7, IE8
- 解决IE下select标签innerHTML插入option的BUG(兼容IE,FF,Opera,Chrome,Safari)
- 解决IE下select标签innerHTML插入option的BUG(兼容IE,FF,Opera,Chrome,Safari)
- 兼容性好的TAB选项卡(IE,FF,Opera,Safari,Chrome)
- JS判断浏览器IE6、IE7、IE8、IE9、IE10、IE11、Chrome、Firefox、Safari、Opera方法,亲测可用
- js代码判断浏览器种类IE、FF、Opera、Safari、chrome及版本
- 史上最全的css hack(ie6-9,firefox,chrome,opera,safari)