Firefox 和 Opera 不兼容的浏览器
希望现在我发布了正确的问题:) 在网络应用程序中,我使用 devexpress 工具包,并且仅在 IE 中获得正确(正确)的结果(还使用一些 java 脚本),例如,单击事件在 chrome 和 safari 中工作,但在 Firefox 和 Opera 中则不行:( 网格视图在除 IE 之外的任何其他浏览器中都无法正确显示!
你知道我在哪里遗漏了什么吗?
Hopefully now I'm posting the right question :)
In web application I'm using devexpress toolkit, and have the right (correct) result in IE only (using also some java-script), on clicking event for example is working in chrome and safari, but in Firefox and Opera not :(
The grid view are not showed properly in division in any other browser, except IE!
Have you got any idea where I'm missing something ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您很可能使用仅 IE 支持的非标准功能(也许还有更多,具体取决于功能)。
如果页面仅在 IE 中按预期显示,则代码不正确,并且依赖于 IE 中的非标准功能或呈现错误。 IE 存在一些其他浏览器没有的渲染错误,这使得它不太适合作为测试的第一站。如果你为 IE 构建一个页面,几乎可以保证它不能在任何其他浏览器中运行。
为了使页面在所有浏览器中正确呈现,您需要首先使其在更严格遵循标准的浏览器中运行,例如 Firefox。尝试让其他浏览器模拟 IE 所具有的相同渲染错误将非常耗时,并且不会给出可靠的结果。
您可能需要一些额外的调整才能使其在 IE 中正确呈现,但这通常可以通过符合标准的方式来完成,例如通过在某些元素上设置特定大小。
You are most likely using non-standard features that are only supported in IE (and perhaps a few more, depending on the feature).
If the page only displays as intended in IE, the code is incorrect and relies on non-standard features or rendering errors in IE. IE has several rendering errors that no other browser has, which makes it less suitable as the first stop for testing. If you build a page for IE, it's almost a guarantee for it not to work in any other browser.
To make the page render correctly in all browsers, you need to first make it work in a browser that follows the standards more closely, like Firefox. Trying to get other browsers to emulate the same rendering errors that IE has would be very time consuming, and doesn't give a robust result.
You might need some extra tweaks to make it render correctly in IE, but this can usually be accomplished in a standards compliant way, for example by setting a specific size on certain elements.
我的就这么解决了...
Devexpress Gridview 浏览器正常渲染问题
Mine is solved by that...
Devexpress Gridview properly Rendering problem for browsers