首页 > 开发 > CSS > 正文

区分IE6,IE7,IE8和FF的css hack

2024-07-11 08:26:47
字体:
来源:转载
供稿:网友

复制代码
代码如下:
body{
background:#F00;/*for FireFox,IE 8 7 6 最终运用到FireFox*/
*background:#0F0;/*for IE 8 7 6 最终运用到IE7*/
_background:#00F;/*for IE 6 最终运用到IE6*/
background:#FF0/0;/*for IE 8 最终运用到IE8*/
}
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表