asp.net中的浏览器兼容性问题 [英] Browser Compatibility Issues in asp.net
本文介绍了asp.net中的浏览器兼容性问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨!我遇到了一些浏览器兼容性问题,例如
:iframe无法在chrome中加载,firefox->在IE中有效
:在不同的浏览器中更改字体颜色.
:控件被拉伸.
有人可以帮我解决这些问题.
Hi! I am having some browser compatibility issues like
: iframe not loading in chrome,firefox->works in IE
: change of font color in different browsers.
: controls getting stretched.
Can someone help me in fixing these issues.
Any documentation available for fixing the issues like this.
推荐答案
这是非常典型的,这就是为什么必须准备进行跨浏览器开发的原因:换句话说,检测 [盒子模型黑客 [网络安全色 [
This is fairly typical which is why you have to be prepared to do cross-browser development: in other words detect[^] the client browser and adjust your CSS to suit: there are many examples here and on Google; e.g. the box model hack[^]. It is also worth remembering that different versions of a browser may also render your content in strange and frustrating ways; IE6, for instance, is different from IE7, IE8 and certainly IE9.
As far as color goes look up web safe colors[^] as a start.
That should get you going and bear in mind that this is not an Asp.Net problem it is a browser issue that can be dealt with by employing good research and careful design.
这篇关于asp.net中的浏览器兼容性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文