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

css hack,css 浏览器兼容问题(css hack, css 浏览器兼容问题).doc

css hack,css 浏览器兼容问题(css hack, css 浏览器兼容问题).doc

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

css hack,css 浏览器兼容问题(css hack, css 浏览器兼容问题) For IE6, IE7, FF compatibility detailed CSS HACK introduction, December 2007 05, 16:00 below for reference: Now Im mostly using important to hack, and the IE6 and Firefox tests can be displayed properly, but IE7 is right, and important can be interpreted correctly, which causes the page to not be displayed as required! Search, and find a good hack for IE7 is the use of *+html, and now use IE7 browsing, there should be no problem. Now write a CSS, thats all: #example {color: #333;} / * * / Moz * HTML #example {color: #666;} / * * / IE6 *+html #example {color: #999;} / * * / IE7 Then, under Firefox, the font color is displayed as #333, the font color is displayed as #666 under IE6, and the font color is displayed as #999 under IE7. They dont interfere with each other. I wish the IE6 would retire soon CSS Hacks, the CSS style sheet for a web page layout template patch. The modified XHTML encoding design, problems, some overflow layer HACKS source: CSS (hacks), this patch is very simple, in the style sheet for the IE7 set of one of the elements, in front of the ID or class this kind of writing: *: first-child+html #ID{} perhaps *: first-child+html.Class{} Dont forget the front *, this hacks makes DIV+CSS web templates in ie5+, IE6, IE7, Firefox 1.5, Firefox 2 browser can perfectly reflect the original layout, without layer overflow and other issues IE7 fixes a lot of bug, also increased for some selector support, so now, such as *html and htmlbody to IE {} {} hide or display the hack will fail in IE7. Although CSS Hack is not recommended, conditional annotations are foolproof filters, but conditional annotations can only appear in HTML, and CSS Hack can still be useful. Nanobot found some CSS Hack for IE7, specifically: body Html* *+html These three types of writing, the first two are illegal CSS, are ignored in standard compatible browsers, but IE7 doesnt think so. For body, it replaces the missing selector with the global s

您可能关注的文档

文档评论(0)

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

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

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档