IE 8.0中针对asp.net Web应用程序的对齐问题 [英] Alignment issues in IE 8.0 for asp.net web application

查看:64
本文介绍了IE 8.0中针对asp.net Web应用程序的对齐问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我在asp.net中开发了一个Web应用程序,在Mozilla Firefox和Google Chrome和IE 9.0中都有很好的UI演示,但是在IE 8.0中对齐不佳,我该如何解决呢?仅IE 8.0有问题.相同的CSS和其他文件在firefox中可以正常工作,IE 9.0和chrome都可以.请为解决这个问题提供任何帮助.


Venkata Raman

Hi Friends,

I developed a web application in asp.net.I have good UI presentation in Mozilla Firefox and Google Chrome and IE 9.0, but in IE 8.0 there is a poor alignment.How can i call solve it? There is a problem with IE 8.0 only.The same CSS and other files are working in firefox,IE 9.0 and chrome are good. Please can any one help in solving this issue.


Venkata Raman

推荐答案

没有人能在没有看到代码的情况下提供帮助.


但是;

IE7和IE8以不同的方式读取和解释CSS.
通过使用meta标记使IE8表现为7,更容易产生混淆.

No-one will be able to help without seeing the code.


However;

IE7 and IE8 read and interpret the CSS in different ways.
It is easier to kludge by making IE8 behave as 7 using a meta tag.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />



就像我说的那样,很粗糙,但是很有效.



As I say, crude, but effective.


这篇关于IE 8.0中针对asp.net Web应用程序的对齐问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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