收录域名

首页 | |

整理的浏览器CSS hack的写法

<p>1.在html的&lt;head&gt;&lt;/head&gt;之间加入
&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EmulateIE7&quot; /&gt;
在IE8 下和IE7下显示内容相同,这样我们只需区分IE6、IE7、火狐(firefox)的css hack即可</p><p>2.注:IE都能识别*;标准浏览器(如FF)不能识别*;
IE6能识别*,但不能识别 !important,
IE7能识别*,也能识别!important;
FF不能识别*,但能识别!important;以下是各浏览器CSS hack表格</p><p>另外再补充一个,下划线&quot;_&quot;,
IE6支持下划线,IE7和firefox均不支持下划线。</p><p>
于是
下一页»

2014-09-13 | Tags:浏览器,CSS | seo新闻 | 查看评论(0)

相关文章:

Powered By Z-Blog  触屏版 | WAP版 | 电脑版