css的解决ie5ie5.5ie6ffie7的兼容性问题(css hack...(CSS solves ie5ie5.5ie6ffie7 compatibility issues (CSS, hack)...).doc
- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 10《葡萄沟》教学设计之七(10 teaching design of grape ditch seven).doc
- 101条财富哲理 -美文故事-散文日志随笔- 文章阅读网(101 wealth philosophy - Essay - Prose diary essays - Article Reading Network).doc
- 10《葡萄沟》教学设计之五(10 teaching design of grape ditch five).doc
- 10《葡萄沟》第二课时教学设计之二(10, grape ditch second class teaching design two).doc
- 10《葡萄沟》第二课时教学设计之四(10, grape ditch second class teaching design four).doc
- 10个励志故事(10 inspiring stories).doc
- 10大管理讲解(Top 10 management explanations).doc
- 10年动画谈(10 years animation talk).doc
- 10款海绵蛋糕制作方法(10 sponge cake making method).doc
- 10款海绵蛋糕配方(10 sponge cake recipe).doc
- (招标投标)衢州二中主大道及周边改造提升工程施工招标文件.pdf
- 护理文献的检索和利用.ppt
- POS收单业务(最新整理版).ppt
- 期末全册复习背诵版 词汇变形+短语句型 -2024-2025学年人教版九年级英语全册.docx
- 人教版九年级Unit10 SectionB词汇精讲.pptx
- 2025年九年级英语寒假培优练分层作业 专题09 阅读还原特训(原卷版).docx
- 人教版九年级英语 课文标注笔记 全册.pdf
- 人教版九年级英语 基础知识梳理 全册.pdf
- 领导底线心智如何以及何时影响员工工作绩效?基于社会认知理论和期望理论的探讨.docx
- 低温等离子体降解苹果表面农药残留研究.docx
文档评论(0)