IE盒模型问题 [英] IE box model problem

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

问题描述




我之前在IE和Firefox之间的差异没有太多问题

对盒子模型的解释,但是我的当前网站似乎

有受其影响的症状!

http://www.srcf.ucam.org/~ccw34/index_ff.html


虽然我了解它是如何产生的,我不完全理解我曾经阅读过的几个黑客攻击它。我还读过

问题是从IE6.0修复的(尽管依赖于Doctype [1]),

但改变Doctype并不是似乎在IE7中的这个

网站上有所不同。


如果有人能提供任何线索来解决问题,我会是最

感激不尽。


谢谢,

克里斯


1. http://css.maxdesign.com.au/listamat...t -boxmodel.htm

推荐答案



ChrisW写道:

ChrisW wrote:

>

我之前在IE和Firefox之间的差异没有太多问题

以前对盒子模型的解释,但是我目前网站似乎

有受其影响的症状!

http://www.srcf.ucam.org/~ccw34/index_ff.html



您认为您有什么问题?


我发现IE6,IE7和Firefox / Seamonkey之间没有显着区别。

我*做*在所有浏览器中看到的是大量的横向

滚动,右边只有空白空间。这是由宽度:div.hideInfo上的100%引起的
。你应该转储它。


标题也可能没有正确定位,但这可能是因为设计不适应我的大型默认文本尺寸。

不能肯定,因为我不知道你期待它的样子。


-

Berg

What problem do you think you have?

I see no significant difference between IE6, IE7 and Firefox/Seamonkey.
What I *do* see in all browsers is a huge amount of horizontal
scrolling, with nothing but empty space over on the right. This is
caused by the width:100% on div.hideInfo. You should dump that.

The heading may not be positioned correctly, either, though that could
be because the design does not adapt to my large default text size.
Can''t say for sure because I don''t know how you expect it to look.

--
Berg


11月9日21:56,Bergamot< berga ... @ visi.comwrote:
On 9 Nov, 21:56, Bergamot <berga...@visi.comwrote:

ChrisW写道:
ChrisW wrote:

我和IE和Firefox之间的差异没有太多问题

解释盒子模型之前,但我现在的网站似乎

有受它影响的症状!
I''ve not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!

http://www.srcf.ucam.org/~ccw34/index_ff.html



您认为您有什么问题?

我发现IE6,IE7和Firefox / Seamonkey之间没有显着差异。

我*所做的*在所有浏览器中看到的是大量的水平

滚动,右边只有空的空间。这是由宽度:div.hideInfo上的100%引起的
。你应该转储它。


标题也可能没有正确定位,但这可能是因为设计不适应我的大型默认文本尺寸。

不能肯定,因为我不知道你期待它的样子。


-

Berg


What problem do you think you have?

I see no significant difference between IE6, IE7 and Firefox/Seamonkey.
What I *do* see in all browsers is a huge amount of horizontal
scrolling, with nothing but empty space over on the right. This is
caused by the width:100% on div.hideInfo. You should dump that.

The heading may not be positioned correctly, either, though that could
be because the design does not adapt to my large default text size.
Can''t say for sure because I don''t know how you expect it to look.

--
Berg



我知道滚动 - 我想先解决主要问题!

它们都很有趣看起来和你一样!我已经获得了Firefox 3和IE 7的屏幕截图



http://www.srcf.ucam.org/~ccw34/ff.jpg
http://www.srcf.ucam.org/~ccw34/ie.jpg

谢谢,

Chris

I knew about the scrolling - I wanted to fix the main problem first!
It''s interesting they all look the same to you! I''ve got screenshots
for Firefox 3 and IE 7:

http://www.srcf.ucam.org/~ccw34/ff.jpg
http://www.srcf.ucam.org/~ccw34/ie.jpg

Thanks,
Chris


文章

< 92 ** ******** @ u18g2000pro。 googlegroups.com>,

ChrisW< c。****** @ gmail.comwrote:
In article
<92**********************************@u18g2000pro. googlegroups.com>,
ChrisW <c.******@gmail.comwrote:

11月9日,21日:56,Bergamot< berga ... @ visi.comwrote:
On 9 Nov, 21:56, Bergamot <berga...@visi.comwrote:

ChrisW写道:
ChrisW wrote:

IE和Firefox之间的差异没有太多问题

以前对盒子模型的解释,但是我现在的网站似乎有b / b
有的症状是受它的影响!
I''ve not had many problems with differences between the IE and Firefox
interpretation of the box-model before, but my current site seems to
have the symptoms of being affected by it!


> http://www.srcf.ucam.org/~ccw34/index_ff.html



您认为您有什么问题?


我看到IE6,IE7和Firefox / Seamonkey之间没有显着区别。

我*所做的*在所有浏览器中看到的是大量的水平

滚动,右边只有空白空间。这是由宽度:div.hideInfo上的100%引起的
。你应该转储它。


标题也可能没有正确定位,但这可能是因为设计不适应我的大型默认文本尺寸。

不能肯定,因为我不知道你期待它的样子。


-

Berg

What problem do you think you have?

I see no significant difference between IE6, IE7 and Firefox/Seamonkey.
What I *do* see in all browsers is a huge amount of horizontal
scrolling, with nothing but empty space over on the right. This is
caused by the width:100% on div.hideInfo. You should dump that.

The heading may not be positioned correctly, either, though that could
be because the design does not adapt to my large default text size.
Can''t say for sure because I don''t know how you expect it to look.

--
Berg



我知道滚动 - 我想先解决主要问题!

它们都很有趣看起来和你一样!我已经获得了Firefox 3和IE 7的屏幕截图



http://www.srcf.ucam.org/~ccw34/ff.jpg
http://www.srcf.ucam.org/~ccw34/ie.jpg



佛手柑在我看来基本上是正确的。在FF中,如果你在浏览器中放大

文本大小(在Mac上的Command +,可能是在Windows上的Control + on
),你会看到像ie.jpg。


-

dorayme

Bergamot seems to me to be essentially right. In FF, if you enlarge the
text size in your browser (Command +, on a Mac, probably Control + on
Windows), you will see a gap like in ie.jpg.

--
dorayme


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

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