网站大量收购独家精品文档,联系QQ:2885784924

css的解决ie5ie5.5ie6ffie7的兼容性问题(css hack...(CSS solves ie5ie5.5ie6ffie7 compatibility issues (CSS, hack)...).doc

css的解决ie5ie5.5ie6ffie7的兼容性问题(css hack...(CSS solves ie5ie5.5ie6ffie7 compatibility issues (CSS, hack)...).doc

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
css的解决ie5ie5.5ie6ffie7的兼容性问题(css hack...(CSS solves ie5ie5.5ie6ffie7 compatibility issues (CSS, hack)...)

css的解决ie5ie5.5ie6ffie7的兼容性问题(css hack...(CSS solves ie5ie5.5ie6ffie7 compatibility issues (CSS, hack)...) Title: CSS solves IE5/IE5.5/IE6/FF/IE7 compatibility issues (CSS, hack) Before looking for a few different versions of the IE browser that can run independently, just to try the compatibility of the page. Try not to know, in IE6 and FF no problem pages in IE5 and IE5.5 in a mess, have heard that IE5 is a nail households WEB standard production, now have to believe. Since there is a problem, the method for solving the strategy, in the online search related articles, or many, feel the most direct or IE notes, it is convenient to write different versions of IE style. But then you have to write a style for each version, which is not good for file optimizations. After looking for some related CSS HACK, I felt I could write IE5/IE5.5/IE6/FFs HACK together. After testing, I finally found a good method. Now lets see how to implement it: As you all know, using the important declaration improves the application priority of the specified style rules, such as the following example: Copy content to clipboard Code: E1{ Background-color: red! Important; / * * / upgrade priority Background-color: blue; } But wrote in IE will have a problem, I have seen the on the CSS style sheet and on the priority of the CSS style sheet priority Addendum, you will know that in IE6 and FF! Important statement can improve the priority level, but in IE6! Important statement is not absolute, it will define the same name attribute is replaced by the following. That is, in the example above, IE6 applies the last value of the background color, that is, blue; in FF, the background color is red. With this in mind, we can separate the styles of FF and IE. OK solves the problems of FF and IE and now resolves IEs own problems. Read the toot bypass a style of -IE IE6 do not support IE5 also supports gt ; after the words, the use of IE really can recognize? Lets look at an example: Copy content to clipboar

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档