Opera 7.23没有向我显示内部表格 [英] Opera 7.23 doesn't show me inner tables

查看:56
本文介绍了Opera 7.23没有向我显示内部表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如果有人能解释我为什么我的Opera 7.23

(在linux下运行)并没有向我显示内部表格,我将非常感激。使用下面的代码我

只能看到内部表1。其他浏览器没有问题

(我在Konqueror下检查过)。

提前感谢您的帮助。

问候。< br $> b $ b / Mariusz


< HTML>

< HEAD>

< / HEAD>

< BODY>

< TABLE BORDER = 1 WIDTH = 800 ALIGN =" center">

< TR ALIGN = center>

< TD ALIGN =" left" WIDTH = 100>

< TABLE BORDER = 1 ALIGN =" left" WIDTH = 100%>

< TR ALIGN =" left" WIDTH = 100%>< TD ALIGN =" left">内表1< / TD>< / TR>

< / TABLE>

< TABLE BORDER = 1 ALIGN =" left" WIDTH = 100%>

< TR ALIGN =" left" WIDTH = 100%>< TD ALIGN =" left">内表2< / TD>< / TR>

< / TABLE>

< / TD>

< / TR>

< / TABLE>

< / BODY>

< / HTML>

Hi,
I''ll be very grateful if somebody can explain me why my Opera 7.23
(runing under linux) doesn''t show me inner tables. Using below code I
can see only "inner table 1". There is no problem with other browsers
(I checked it under Konqueror).
Thank you in advance for your help.
Regards.
/Mariusz

<HTML>
<HEAD>
</HEAD>
<BODY>
<TABLE BORDER=1 WIDTH=800 ALIGN="center">
<TR ALIGN="center">
<TD ALIGN="left" WIDTH=100>
<TABLE BORDER=1 ALIGN="left" WIDTH=100%>
<TR ALIGN="left" WIDTH=100%><TD ALIGN="left">inner table 1</TD></TR>
</TABLE>
<TABLE BORDER=1 ALIGN="left" WIDTH=100%>
<TR ALIGN="left" WIDTH=100%><TD ALIGN="left">inner table 2</TD></TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

推荐答案

Mariusz Jedrzejewski写道:
Mariusz Jedrzejewski wrote:
如果有人可以,我将非常感激解释我为什么我的Opera 7.23
(在linux下运行)并没有向我展示内部表格。使用下面的代码I
只能看到内部表1。其他浏览器没有问题
(我在Konqueror下查了一下)。
I''ll be very grateful if somebody can explain me why my Opera 7.23
(runing under linux) doesn''t show me inner tables. Using below code I
can see only "inner table 1". There is no problem with other browsers
(I checked it under Konqueror).




< snip code>


您的HTML无效,因此您无法知道代码是否有问题,或者用户代理是否有错误。最好先消除可衡量的问题



http://validator.w3.org/


此外,没有理由使用嵌套表...除非你

因非表格目的滥用它们:
http:/ /www.allmyfaqs.com/faq.pl?Tableless_layouts

-

David Dorward< http://dorward.me.uk/>



<snip code>

Your HTML is invalid, so you can''t know if its a fault with the code, or a
fault with the user agent. Its best to eliminate the measurable problem
first.

http://validator.w3.org/

Additionally, there should be no reason to use nested tables... unless you
are abusing them for non-tabular purposes:
http://www.allmyfaqs.com/faq.pl?Tableless_layouts
--
David Dorward <http://dorward.me.uk/>


Mariusz Jedrzejewski写道:
Mariusz Jedrzejewski wrote:

如果有人能解释我为什么选择Opera 7.23,我将非常感激< br(>在linux下运行)并没有向我展示内部表格。使用下面的代码I
只能看到内部表1。其他浏览器没有问题
(我在Konqueror下查了一下)。
Hi,
I''ll be very grateful if somebody can explain me why my Opera 7.23
(runing under linux) doesn''t show me inner tables. Using below code I
can see only "inner table 1". There is no problem with other browsers
(I checked it under Konqueror).



[snip]


我认为是width = 100%在第一个内部桌子上,它导致它占用所有可用空间的
。 (你怎么能有2个表每个占用100%的

空间?)我只是将内部表的宽度改为50%。和歌剧

显示两者。


ps:这与布局表是否无关!嵌套

表通常是一个好主意,可以用于布局以外的原因。

-

巴里Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/


[snip]

I think it is the "width=100%" on the first inner table that causes it to take
up all the available space. (How can you have 2 tables each taking 100% of the
space?) I just changed the widths of the inner tables to "50%" and Opera
showed both.

ps: It is nothing to do with whether or not this is a layout table! And nested
tables are often a good idea, and can be used for reasons other than layout.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/


Barry Pearson写道:
Barry Pearson wrote:
Mariusz Jedrzejewski写道:
Mariusz Jedrzejewski wrote:

我会非常感激如果有人能解释我为什么我的Opera 7.23
(在linux下运行)并没有向我展示内部表格。使用下面的代码I
只能看到内部表1。其他浏览器没有问题
(我在Konqueror下查了一下)。
Hi,
I''ll be very grateful if somebody can explain me why my Opera 7.23
(runing under linux) doesn''t show me inner tables. Using below code I
can see only "inner table 1". There is no problem with other browsers
(I checked it under Konqueror).


[snip]

我认为这是宽度= 100% ;在第一个内部桌子上导致它占用所有可用空间。 (你怎么能有2个桌子?每个占用100%的空间?)我只是将
内部桌子的宽度改为50%。和Opera都显示了这两个。


[snip]

I think it is the "width=100%" on the first inner table that causes
it to take up all the available space. (How can you have 2 tables
each taking 100% of the space?) I just changed the widths of the
inner tables to "50%" and Opera showed both.




哎呀,我的错!当然,你可以有2%的100%,因为他们应该跟随另一个,他们不应该是内联的。但是 - 在将宽度改为
到50%之后,我确实在Opera上看到了两个并排,所以答案似乎是某个地方的b $ b。 (如果你将它们更改为90%和90%,你会看到Opera中的第二个只有一个

位。看来IE和Opera正在对它们进行处理
以某种方式内联,而其他人则不这样做。


我建议你从干净的标记开始 - 有很多多余的东西

那里有令人困惑的东西。


-

Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/



Whoops, my mistake! You can have 2 at 100%, of course, because they should
follow one-another, they should not be inline. But - after changing the widths
to 50%, I did see both on Opera, side by side, so the answer appears to be
there somewhere. (If you changed them to, say, 90% & 90%, you would see just a
bit of the second one in Opera. It appears that IE & Opera are treating them
as inline somehow, while others don''t).

I suggest you start from clean mark-up - there is a lot of redundant stuff
there which is confusing things.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/


这篇关于Opera 7.23没有向我显示内部表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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