简体   繁体   English

Firefox和Opera不兼容的浏览器

[英]firefox and opera not compatible browser

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! 希望现在我发布正确的问题:)在Web应用程序中,我正在使用devexpress工具包,并且仅在IE中具有正确(正确)的结果(还使用了一些Java脚本),例如单击事件在chrome中有效和safari,但在Firefox和Opera中不是:(除IE之外,其他任何浏览器中的网格视图均未正确显示。

Have you got any idea where I'm missing something ? 你知道我在想什么吗?

You are most likely using non-standard features that are only supported in IE (and perhaps a few more, depending on the feature). 您很可能会使用仅在IE中受支持的非标准功能(根据功能可能会更多)。

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中的预期显示,则代码不正确,并且依赖于IE中的非标准功能或呈现错误。 IE has several rendering errors that no other browser has, which makes it less suitable as the first stop for testing. IE具有许多其他浏览器都没有的呈现错误,这使其不太适合作为测试的第一站。 If you build a page for IE, it's almost a guarantee for it not to work in any other browser. 如果您为IE构建页面,则几乎可以保证它不能在任何其他浏览器中运行。

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. 为了使页面在所有浏览器中都能正确呈现,您需要首先使其在符合更严格标准的浏览器(如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. 试图让其他浏览器模仿IE所具有的相同渲染错误将非常耗时,并且无法提供可靠的结果。

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. 您可能需要一些额外的调整才能使其在IE中正确呈现,但这通常可以通过符合标准的方式来实现,例如,通过在某些元素上设置特定的大小来实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM