- 1、本文档共7页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
css浏览器兼容方案(CSS browser compatibility program)
css浏览器兼容方案(CSS browser compatibility program)
Web design encountered trouble with one of the greatest of different browser compatibility issues, because the IE 6 / IE 7 / Firefox 2 / Opera 9 mainstream browser of CSS analysis is not nearly the same, leading to the design of the page is not the same, so what method can effectively solve the different problems of different browser page? The widely used method is CSS Hack, which uses the special CSS definition to display web pages in different browser design styles, writes different CSS for different browsers, and maximizes compatibility with browsers.
In general, Ill take into account the IE 6 / IE 7 / Firefox 2 browser, and here are the more frequently used CSS Hack techniques:
The most widely used way! Important, it can be for IE (IE: 7 understand! Important) and non IE browser settings of different styles, just behind the non IE browserstyle plus! Important, can according to its priority. So Ill use important in order to take into account the differences between IE 6 and firefox.
1, only IE7 and IE5.0 can be identified
*+html select {... }
You can use this HACK when you need to do only styles for IE7 and IE5.0.
2, only IE7 can be identified
*+html select {... Important;}
You can use this HACK when you need to make a style for IE7 only.
3, IE6 and IE6 following identification
* HTML select {... }
This place needs special attention. Many blogs are written as IE6s HACK. In fact, IE5.x can recognize the HACK as well. Other browsers are not recognized.
4, html/**/, body, select {... }
This sentence has the same function as the previous one.
5, only IE6 does not recognize, shielding IE6
Select {display IE6*/} / * shield: none;
Here is a property and value that is separated by the CSS annotation, and the annotation is before the colon.
6, only IE6 and IE5 are not recognized, shielding IE6 and IE5
Select/**/ {display /*IE6, IE5 does not recognize *: none;}
Here, unlike the previous one, there is a CSS annotation between th
您可能关注的文档
- 100 floors 1-70 攻略(100 floors 1 - 70 攻略).doc
- 100部科普经典名著(100 Classics of popular science).doc
- 101个浪漫的点子 ~~~情侣们要学学哦(101 romantic ideas lovers have to learn).doc
- 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
文档评论(0)