IE和Firefox显示不同的结果 [英] IE and Firefox display different results

查看:64
本文介绍了IE和Firefox显示不同的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为一家公司创建了一个网站,他们想在asp.net中使用它,这不是我第一次使用asp.net但是当我在Internet Explorer中检查网站时没有错误但是在Firefox中一切都是不同。


这是向您展示我的意思的网站。 http://graztech-1.at.vwdhosting.net


一个例子就是访问firefox中的bean bags部分,并且单词都在旁边。现在这些单词位于图片下方的3列表格中。如果您需要更多信息,请告诉我。



任何人都可以帮我解决这个问题吗?

Hi, I created a website for a company and they wanted it in asp.net and this is not my first time using asp.net but when i check the site in internet explorer there are no errors but in Firefox everything is lined different.

Here is the site to show you what i mean. http://graztech-1.at.vwdhosting.net

One example would be to visit the bean bags section in firefox and the words are off to the side. Now the words are in a 3 column table under the pictures. If you need more information please let me know.


Can anyone help me fix this?

推荐答案

对于初学者:
http://validator.w3.org/check?uri=ht。 ..00 = 1& verbose = 1


修复这些,然后转到CSS验证器并修复所有这些。

然后看看如何他们比较firefox和IE
For starters:
http://validator.w3.org/check?uri=ht...00=1&verbose=1

Fix those, then goto the CSS validator and fix all of those.
Then see how they compare between firefox and IE


问题,一如既往,是IE。您的doctype不正确,导致IE进入怪癖模式。请参阅有关doctypes的html / css下的文章部分。


如上所述,验证您的标记。它显示25个html错误。此外,asp.net在其代码生产中倾向于IE,但IE是旧的,错误的和非标准的。因此,决不使用任何版本的IE作为参考浏览器。始终使用现代浏览器,例如Firefox或Opera。然后我们可以调整IE的怪癖和错误。


我通常会建议一个严格的doctype,但你所做的已经产生了弃用的标记,所以你必须使用过渡类型。
The problem, as always, is IE. Your doctype is incorrect and causes IE to go into quirks mode. See the Articles section about under html/css about doctypes.

As mentioned, validate your markup. It shows 25 html errors. Also, asp.net leans toward IE in its code production but IE is old, buggy and non-standard. Never use any version of IE as a reference browser for this reason. Always use a modern browser, such as Firefox or Opera. Then we can adjust for IE quirks and bugs.

I would normally suggest a strict doctype but what you did has produced deprecated markup, so you must use the transitional type.



此外,asp.net在其代码生产中倾向于IE,但IE老了,越野车和非标准。因此,决不使用任何版本的IE作为参考浏览器。始终使用现代浏览器,例如Firefox或Opera。然后我们可以调整IE怪癖和错误。
Also, asp.net leans toward IE in its code production but IE is old, buggy and non-standard. Never use any version of IE as a reference browser for this reason. Always use a modern browser, such as Firefox or Opera. Then we can adjust for IE quirks and bugs.



肯定这是一个有点强大的霍华德。你承认asp.net倾向于IE,然后建议永远不要使用它。 Web应用程序具有浏览器兼容性的旧漏洞,但IE占最后统计用户的75%。男孩和女孩MS的女孩对报告的错误采取行动,我不同意IE必然是老旧的。


你也是反MS吗?关于Firefox,Opera& amp;苹果浏览器?难道它们不是MS产生的吗?有些功能比其他功能更好,但我喜欢设计在客户浏览器中运行的应用程序,主要是IE。

Surely this is a bit strong Howard. You admit that asp.net leans towards IE and then advise never to use it. Web applications have the old bug bear of browser compatability, but IE accounts for 75% of users at last count. The boys & girls at MS act on reported bugs and I disagree that IE is necessarily old and buggy.

Are you anti-MS as well? What is so good about Firefox, Opera & Safari? Is it that they are not MS produced? Some have better features than others, but I like to design apps that work in my customer''s browser and that is predominantly IE.


这篇关于IE和Firefox显示不同的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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