如何使应用程序与C#中的Internet Explorer 10和11兼容 [英] How to make application compatible for internet explorer 10 and 11 in C#

查看:127
本文介绍了如何使应用程序与C#中的Internet Explorer 10和11兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,


我的客户端正在使用C#中的一个应用程序.

之前他们使用的是ie8和ie9.

但是现在他们想在ie10,11上使用相同的应用程序.

但是当他们打开网页时,页面正在打开,但是内容没有被引用.

有人可以提供您的建议吗,或者如果有人有这样的代码,请与我分享.


感谢您的帮助.

Hi Friends,


I have an application in C# that my client is using.

Earlier they were using ie8 and ie9.

But now they want to use the same application on ie10,11.

but while they are opening web page, page are opening but contents are not alligned.

Can you people provide your suggestion or if any one have code like this please share with me.


Thanks for help.

推荐答案

尝试按以下方式推送内容模式:

Try pushing the content mode like so:

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8;IE=9" />
</head>



那应该强制兼容标准到客户端浏览器.



That should force compatibility standards to the client browser.


这篇关于如何使应用程序与C#中的Internet Explorer 10和11兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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