- 1、本文档共9页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 1 1=3新合资的企业优生学(1 1=3 a new joint venture enterprise eugenics).doc
- 1.6吴式太极拳三十七式的由来和特点(1.6, the origin and characteristics of Wu Style Taijiquan thirty-seven).doc
- 10.2浮力的大小2(10.2 the size of the buoyancy force 2).doc
- 10.2思想道德修养和知识文化修养(10.2, ideological and moral cultivation and knowledge and cultural accomplishment).doc
- 10.使用一对多表单向导选择ksb表和kscjb表生成一个名为two的表单(10. using the one to many Form Wizard, select the KSB table and the kscjb table, and generate a form called two).doc
- 10.准备考试的祈祷(10. prayers for exams).doc
- 1.0m加新地图asm代码!(1.0m plus new map ASM code!).doc
- 0到33600端口详解(Port 0 to 33600).doc
- 100个常用批处理实用技巧(100 commonly used batch processing techniques).doc
- 100多份品管试卷及答案——资料包(151个doc)2000iso9000内版内部品质(More than 100 quality management papers and answers - data package (151 DOC), 2000iso9000, internal quality).doc
最近下载
- 学前儿童学习与发展核心经验健康领域.pdf
- 新人教版七年级下册英语U4词汇分类循环训练单(学生版).docx
- 2023年下半年教师资格证《高中生物》真题及答案.pdf VIP
- 电子版个人简历模板简历表格 个人简历.docx VIP
- 国家秘密载体印制资质现场审查保密知识测试试题库.pdf VIP
- 2025年新疆乌鲁木齐市高考数学二模试卷(理科)+答案解析(附后).pdf VIP
- 我的家乡黑龙江双鸭山.pptx
- 初级注册安全工程师考试(安全生产法律法规)考点重点资料梳理.pdf VIP
- (最全)山东省2016建筑工程消耗量定额.pdf
- 2025年徐州工业职业技术学院单招职业技能测试题库(历年真题).docx VIP
文档评论(0)