Web浏览器控件兼容模式 [英] Web browser control compatibility mode

查看:123
本文介绍了Web浏览器控件兼容模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IE webbrowser控件创建自定义浏览器。大多数网站的工作都很好,但一些使用基于IE 8的布局内容的网站是扭曲的。如果我打开我的应用程序的功能模拟模式然后它工作正常,但IE7特定的网站显示内容布局问题。


有没有办法使用哪个 我的应用程序可以表现与IE8兼容性功能相同。我不知道它在内部做了什么,但我想为我的应用程序实现相同的功能,即按需兼容。因此,用户可以通过在地址栏附近提供一个按钮来选择在IE8中实现的页面显示。


任何指针或更好的设计方案在这里都会有所帮助。


 


谢谢。


 

解决方案


我正在使用IE webbrowser控件创建自定义浏览器。大多数网站的工作都很好,但一些使用基于IE 8的布局内容的网站是扭曲的。如果我打开我的应用程序的功能模拟模式然后它工作正常但是特定于IE7的网站
显示内容布局问题。


有没有办法使用哪个 我的应用程序可以像IE8兼容功能一样运行。我不知道它在内部做了什么,但我想为我的应用程序实现相同的功能,即按需兼容。因此,用户
可以在运行时选择页面显示,这是通过在地址栏附近提供一个按钮在IE8中实现的。


任何指针或更好的设计方案在这里都会有所帮助。 / p>

 


谢谢。


 



你有没有得到答案?我正试图弄清楚同样的事情!


I am creating a custom browser using IE webbrowser control. Things work fine for most of the sites but some sites which are using IE 8 based layout content is distorted. If i turn on the feature emulation mode for my application then it works fine but sites which are specific to IE7 shows content layout problems.

Is there any way by using which my application can behave in same way as IE8 compatibilty feature does. I don't know what it does internally but i want to implement same functionality for my application i.e. compatibility on demand. So that user can choose page display at runtime which is implemented in IE8 by providing a button near the address bar.

Any pointer or better design proposal would be helpful here.

 

Thanks.

 

解决方案

I am creating a custom browser using IE webbrowser control. Things work fine for most of the sites but some sites which are using IE 8 based layout content is distorted. If i turn on the feature emulation mode for my application then it works fine but sites which are specific to IE7 shows content layout problems.

Is there any way by using which my application can behave in same way as IE8 compatibilty feature does. I don't know what it does internally but i want to implement same functionality for my application i.e. compatibility on demand. So that user can choose page display at runtime which is implemented in IE8 by providing a button near the address bar.

Any pointer or better design proposal would be helpful here.

 

Thanks.

 

Did you ever get an answer on this? I am trying to figure out the same thing right now!


这篇关于Web浏览器控件兼容模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆