表和Mozilla [英] Tables and Mozilla

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

问题描述

我知道我可以使用64个div标签并将它们全部定位并获得相同的效果

。或者,一些组合,以获得相同的外观。

但我的问题是,为什么这个页面:

< URL: http://www.hikksworld.com/chess/ />

显示底部Mozilla图像下的边距但不是任何地方

其他?完成后,这些碎片将是透明的GIF,所以你不会注意到它,但它让我比其他任何东西更好奇。

And,是正确的,MSIE6 / Opera7或Mozilla的

显示方面是什么?

-

Randy

机会有利于准备好的心灵

comp.lang.javascript常见问题 - http://jibbering.com/faq/

I know that I could use 64 div tags and position them all and get the
same effect. Or, some combination, to get the same look.
But my question is, why does this page:
<URL: http://www.hikksworld.com/chess/ />
Display a bottom margin under the images in Mozilla but not anywhere
else? When its finished, the pieces will be transparent gifs so you
won''t notice it as much, but it has me more curious than anything else.
And, which is getting it right, MSIE6/Opera7 or Mozilla as far as the
display aspect goes?
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/

推荐答案

Randy Webb< hi ****** ******@aol.com>写道:
Randy Webb <hi************@aol.com> wrote:
我知道我可以使用64个div标签并将它们全部定位并获得相同的效果。或者,一些组合,以获得相同的外观。
但我的问题是,为什么这个页面:
< URL: http://www.hikksworld.com/chess/ />


403禁止,我想你的意思是 http: //www.hikksworld.com/chess/

在Mozilla的图像下显示底部边距但不在任何地方显示
其他?
I know that I could use 64 div tags and position them all and get the
same effect. Or, some combination, to get the same look.
But my question is, why does this page:
<URL: http://www.hikksworld.com/chess/ />
403 forbidden, I guess you meant http://www.hikksworld.com/chess/
Display a bottom margin under the images in Mozilla but not anywhere
else?




< img>是一个内联元素。这意味着它位于文本

基线上。

的下降文本基线下面有空间。在标准模式下(你的doctype

触发)Mozilla得到了这个权利。在Quirks模式或Almost Standards

模式下,它将复制其他浏览器的行为。


因此,要么更改您的doctype以触发其他渲染之一

模式,或者应用一点CSS:

td img {display:block;}


Steve
< br $> b $ b -

我的理论给你起见,我的异端邪说你们,

我从不回信,你不喜欢我的领带" - 医生


Steve Pugh< st *** @ pugh.net> < http://steve.pugh.net/>



<img> is an inline element. That means that it sits on the text
baseline. There is room under the text baseline for the descenders of
those letters which have them. In Standards mode (which your doctype
triggers) Mozilla gets this right. In Quirks mode or Almost Standards
modes it will copy the behaviour of other browsers.

So either change your doctype to trigger one of the other rendering
modes, or apply a little bit of CSS:
td img {display: block;}

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don''t like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>


2004年2月20日星期五02:37:09 -0500,Randy Webb< hi ** **********@aol.com>

写道:
On Fri, 20 Feb 2004 02:37:09 -0500, Randy Webb <hi************@aol.com>
wrote:
我知道我可以使用64个div标签并将它们全部定位并获得相同的效果。或者,一些组合,以获得相同的外观。
但我的问题是,为什么这个页面:
< URL: http://www.hikksworld.com/chess/ />
在Mozilla的图像下显示底部边距但不是任何地方其他?当它完成时,这些碎片将是透明的GIF,所以你不会注意到它,但它让我比其他任何东西都更好奇。
而且,它正确,MSIE6 / Opera7或者就显示方面而言,Mozilla是什么?
I know that I could use 64 div tags and position them all and get the
same effect. Or, some combination, to get the same look.
But my question is, why does this page:
<URL: http://www.hikksworld.com/chess/ />
Display a bottom margin under the images in Mozilla but not anywhere
else? When its finished, the pieces will be transparent gifs so you
won''t notice it as much, but it has me more curious than anything else.
And, which is getting it right, MSIE6/Opera7 or Mozilla as far as the
display aspect goes?




Opera 7.5也会显示这些差距...


在这里阅读所有相关内容:

http://devedge.netscape.com/viewsource/2002/img-table/
http://devedge.netscape.com/viewsour...ost-standards/


-

Rijk van Geijtenbeek


网络是一种拖延装置:

它可以吸收尽可能多的时间来确保你

不会完成任何实际工作。 - J.Nielsen



Opera 7.5 will also show those gaps...

Read all about it here:

http://devedge.netscape.com/viewsource/2002/img-table/
http://devedge.netscape.com/viewsour...ost-standards/

--
Rijk van Geijtenbeek

The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won''t get any real work done. - J.Nielsen


" Rijk van Geijtenbeek" < RI ** @ opera.com>写道:
"Rijk van Geijtenbeek" <ri**@opera.com> wrote:
2004年2月20日星期五02:37:09 -0500,Randy Webb写道:
On Fri, 20 Feb 2004 02:37:09 -0500, Randy Webb wrote:
并且,它正在得到它对吧,MSIE6 / Opera7或Mozilla的显示方面是什么?
Opera 7.5也会显示这些差距...

在这里阅读所有相关内容:

http://devedge.netscape.com/ viewsource / 2002 / img-table /
And, which is getting it right, MSIE6/Opera7 or Mozilla as far as the
display aspect goes?
Opera 7.5 will also show those gaps...

Read all about it here:

http://devedge.netscape.com/viewsource/2002/img-table/




OP说Opera 7同意MSIE,Rijk说Opera 7.5同意

Mozilla指的是:
http:// devedge.netscape.com/viewsour...ost-standards/




这是否意味着下一个Opera版本将被祝福几乎

标准模式像Mozilla?告诉我它不是这样的!?



Does this mean the next Opera version will be blessed with an "almost
standards" mode like Mozilla? Tell me it isn''t so!?


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

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