- 1、本文档共19页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
divcss设计时浏览器兼容性问题(Browsercompatibilityissuesindivcssdesign)
div+css设计时浏览器兼容性问题(Browser compatibility issues in div+css design)
Its normal in this browser and out of the other. Were annoyed when were writing CSS, weve just fixed this browser problem, and the other browser has a new problem.
What is a browser compatible: when we use a different browser (Firefox IE7 IE6) access to a website or page, there will be some incompatibilities, normally displayed in the browser, in another chaos, we will be very angry when writing CSS, just repair the browser, the browser is another new problem. OK, Ill take it. Ill take advantage of your incompatibility and write a paragraph of CSS for each of them.
I. important (limited function)
With the support of IE7 for important, the important method is now only compatible with IE6. (note the wording. Remember that the declaration location needs to be advanced.)
Such as:
#example {
Width: 100px important; / * * / IE7+FF!
Width: 200px IE6; / * * /
}
Two, CSS, HACK method (novice can see, master when passing by bar)
The first thing to know is..:
General height: 100px for all browsers;
IE6 dedicated _height: 100px;
IE7 dedicated *+height: 100px;
IE6 and IE7 share *height: 100px;
IE7 and FF share height: 100px! Important;
Such as:
#example {height:100px}; / * * / FF
* HTML #example {height:200px}; / * * / IE6
*+html #example {height:300px IE7;} / * * /
The following method is relatively simple
Give me some examples:
1, IE6 - IE7+FF
#example {
Height:100px; / * * / FF+IE7
_height:200px; / * * / IE6
}
In fact, the first method mentioned above can also be used
#example {
Height:100px! Important; / * * / FF+IE7
Height:200px; / * * / IE6
}
2, IE6+IE7 - FF
#example {
Height:100px; / * * / FF
*height:200px; / * * / IE6+IE7
}
3, IE6+FF - IE7
#example {
Height:100px; / * * / IE6+FF
*+height:200px; / * * / IE7
}
4, IE6, IE7, FF are different
#example {
Height:100px; / * * / FF
_height:200px; / * * / IE6
*+height:300px; / * * / IE7
}
Or:
#example {
Height:100px; / * * / FF
*height:300px; / * * / IE7
_height:20
您可能关注的文档
- 19《买猫头鹰》(19, buy owls.).doc
- 1、我们几个朋友一起去大草原上玩(1, several of our friends go to play on the prairie).doc
- 1、皮肤粗黑靠化妆品增白皮肤,(1, skin coarse black rely on cosmetics whitening skin,).doc
- 175839_造价师口诀(175839_ cost division formula).doc
- 1《复习way》弄懂做过的每一道题,听起来很简单(1, review way, understand every problem that has been done, sounds very simple).doc
- 1冰雪卫士(1 ice guard).doc
- 2 金融法律制度(2 financial legal system).doc
- 2-3岁宝宝最爱玩的小游戏(2-3 year old baby favorite game).doc
- 2.3.3 - 通过java语言进行bapi调用(2.3.3 - Bapi calls through the Java language).doc
- 12条守则 让你成功创业当老板(The 12 rule allows you to succeed in business and be a boss).doc
文档评论(0)