IIS7和放大器; IE8 - 页面上的IE8版本相同的渲染不同? [英] IIS7 & IE8 - Pages rendering differently on same versions of IE8?

查看:103
本文介绍了IIS7和放大器; IE8 - 页面上的IE8版本相同的渲染不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有IIS7下运行的ASP.NET(框架2.0)的Web应用程序。
当我的服务器,使用IE8上运行的应用程序,localhost上的应用程序运行它应该的方式。
当我运行在Visual Studio 2008(2.0框架)的应用程序运行时,它是应该的方式。
但是,当我尝试从另一台计算机上运行应用程序它呈现不正确。
同一版本的IE8的。

I have an ASP.NET (framework 2.0) web app running under IIS7. When I run the app on the server, using IE8, localhost the app runs the way it is supposed to. When I run the app in Visual Studio 2008 (framework 2.0) it runs the way it is supposed to. But when I try to run the app from another computer it renders incorrectly. Same versions of IE8.

任职到另一台计算机,当Internet Explorer的版本是一样的吗?

What would cause the serving of an ASP.NET application to render correctly on the server, but incorrectly when serving to another computer, when the Internet Explorer versions are the same?

谁能帮助?

推荐答案

您可以强制IE在特定的兼容模式,在头部以下meta标签中的一种:

You can force IE to work in a specific compatability mode with one of the following meta tags in the head:

<meta http-equiv="X-UA-Compatible" content="IE=4">   <!-- IE5 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=7.5" > <!-- IE7 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=100" > <!-- IE8 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=a" >   <!-- IE5 mode --> 

下面是关于兼容性meta标签的链接,了解更多信息:

Here is a link to more information regarding the compatibility meta tag:

<一个href=\"http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx\">http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx

您可以尝试的另一件事是保存在每个系统上的输出源,然后比较,看看他们是相同的。如果它们是相同的,然后它归结为在客户端上的人丁其是兼容性设置

One other thing you could try is to save the output source on each system and then compare to see if they are the same. If they are identical then it comes down to the rending on the client which is a compatibility setting.

这篇关于IIS7和放大器; IE8 - 页面上的IE8版本相同的渲染不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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