我还有IE问题 [英] I'm Still Having IE problems

查看:78
本文介绍了我还有IE问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于一些奇怪的原因,我似乎无法让我的div在IE上扩展页面的整个宽度,但在Firefox上,它完美无缺。我在之前的帖子中向我提供了一些非常好的建议( http://www.thescripts。 COM /论坛/ thread613333.html )。然而,可悲的是,似乎并没有做到这一点。如果有人有任何建议,我将非常感谢。


要了解我在说什么,请打开 http://www.myspace.com/fskoolaid 并查看源代码。 (显然我的个人编码以< div ...>开头,以< / div>结束。


谢谢大家的时间。

再次,上一个主题是: http://www.thescripts.com/forum /thread613333.html

For some strange reason I can''t seem to get my div to stretch the entire width of the page on IE, but on Firefox, it works perfectly. Some very good suggestions were offered to me in a previous post on here (http://www.thescripts.com/forum/thread613333.html). Sadly, however, it didn''t seem to do the trick. If anyone has any suggestions, I would highly appreciate it.

To see what I''m talking about, open up http://www.myspace.com/fskoolaid in both IE and Firefox and check the source code. (Obviously my personal coding starts with <div...> and ends with </div>.

Thank you all for your time.

Again, the previous thread is: http://www.thescripts.com/forum/thread613333.html

推荐答案


由于一些奇怪的原因,我似乎无法得到我的div在IE上扩展页面的整个宽度,但在Firefox上,它运行得很完美。在此前的帖子中提供了一些非常好的建议( http://www.thescripts.com/forum/thread613333.html 。然而,遗憾的是,它似乎没有做到这一点。如果有人有任何建议,我将非常感谢。


要了解我在说什么,请打开 http://www.myspace.com/fskoolaid 在IE和Firefox中查看源代码。 (显然我的个人编码以< div ...>开头,以< / div>结束。


谢谢大家的时间。

再次,上一个主题是: http://www.thescripts.com/forum /thread613333.html
For some strange reason I can''t seem to get my div to stretch the entire width of the page on IE, but on Firefox, it works perfectly. Some very good suggestions were offered to me in a previous post on here (http://www.thescripts.com/forum/thread613333.html). Sadly, however, it didn''t seem to do the trick. If anyone has any suggestions, I would highly appreciate it.

To see what I''m talking about, open up http://www.myspace.com/fskoolaid in both IE and Firefox and check the source code. (Obviously my personal coding starts with <div...> and ends with </div>.

Thank you all for your time.

Again, the previous thread is: http://www.thescripts.com/forum/thread613333.html



我认为在这种情况下的问题是myspace缺少Doctype。而且,你可能要小心它看起来像你覆盖一些MySpaces广告,如果他们认为你违反了他们的服务条款,他们会删除你的帐户。看起来IE正在以怪癖模式呈现页面。

I think the problem in this case is myspaces lack of a Doctype. Also, you may want to be carefull it looks like you''re covering up some of MySpaces ads they will delete your account if they feel you''re in violation of their TOS. It looks like IE is rendering the page in quirks mode.


从第一个div在顶部,从该样式中删除''width:100%'。如果不这样做,请尝试删除''position:absolute;来自相同的样式。
From the first div at the top, remove ''width:100%'' from that style. If that doesn''t do it, try removing ''position:absolute; from the same style.



从顶部的第一个div中删除该样式的''width:100%'。如果不是做到这一点,尝试删除''position:absolute;来自同一风格。
From the first div at the top, remove ''width:100%'' from that style. If that doesn''t do it, try removing ''position:absolute; from the same style.



好​​的,我从样式中删除了''width:100%'',它并没有真正做任何事情。然后我尝试从相同的样式中删除''position:absolute'',它从''整个'页面变为仅在'About Me'部分。所以我把它全部放回去。


关于DOCTYPE的所有这些是什么?


OK, I removed the ''width: 100%'' from the style, and it didn''t really do anything. I then tried also removing the ''position: absolute'' from the same style and it went from the ''whole'' page to only being in the ''About Me'' section. So I put it all back in.

What''s all this about a DOCTYPE?


这篇关于我还有IE问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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