我哪里错了? [英] Where am i wrong?

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

问题描述

大家好,

i偶然发现了另一个我无法解决的问题。

Firefox向我展示了我对它的预期和IE6.0的不足之处不要这么做。我很好。

http://www.twistedeyes.com/temp/test/main2.html


看看吧。


它的优惠是什么?


感谢您的帮助。

解决方案

Oliver写道:

大家好,
我偶然发现了另一个我无法弄清楚的问题。
Firefox正在向我展示我的表格如何我期待它和IE6.0不能帮助我好。

http://www.twistedeyes.com/temp/test/main2.html

请看看。

谢谢你任何帮助。




第一步:验证您的页面。你有很多错误。当你的代码有错误时,你就会受到特定浏览器如何处理错误的影响。


Oliver写道:

大家好,
我偶然发现了另一个我无法弄清楚的问题。
Firefox向我展示了我的预期它和IE6.0并没有让我感觉良好。

http://www.twistedeyes.com/temp/test/main2.html

只是看看。
它的优惠是什么?

感谢您的帮助。



您的主要问题是您正在使用桌子不是

的目的。


其次,IE6不能正确支持XHTML。


你的第三个XML似乎无效。


第四,用户代理确实以不同方式呈现表格,因此它们不合适

表示已锁定 "像你这样的设计。


我的建议

删除XHTML,除非你真的需要使用XML,否则没用。使用HTML

401严格甚至过渡。

删除表格方案。使用绝对定位,您可以通过< div>更轻松地实现

效果元素。


BTW我喜欢篮球效果:)


St?le S?b?e schrieb:

Oliver写道:

大家好,
我偶然发现了另一个我无法弄清楚的问题。
Firefox正在向我展示表格我对它的期望和IE6.0并不是很好。

http://www.twistedeyes.com/temp/test/main2.html

请看看。

有什么用呢?

感谢您的帮助。



您的主要问题是您使用的是表格不是为了它而设计的。

其次,IE6不能正确支持XHTML。

第三,你的XML看起来无效。
<第四,用户代理确实以不同方式呈现表格,因此它们不适合锁定表格。像你这样的设计。

我的建议
删除XHTML,除非你真的需要使用XML,否则没用。使用HTML
401严格甚至过渡。
删除表格方案。使用绝对定位,您可以使用< div>来轻松实现您的
效果。元素。

BTW我喜欢篮球效果:)



OK!

所以我放弃了使用XML的想法,我不知道为什么我想在那里,

也许我只是想尝试最新的东西。

所以我转向HTML 4.01过渡。更改了代码,现在它是

有效的HTML 4.01和CSS代码。

接下来我会尝试使用div标签和绝对定位。希望

对我有帮助,因为我需要不同尺寸和位置的桌子。

感谢你的帮助。

干杯


Hi guys,
i stumbled over another problem that i can''t figure out.
Firefox is showing me the table how i expected it and IE6.0 doesn''t do
me good.

http://www.twistedeyes.com/temp/test/main2.html

Just have a look.

What''s the deal with it?

Thanks for any help with it.

解决方案

Oliver wrote:

Hi guys,
i stumbled over another problem that i can''t figure out.
Firefox is showing me the table how i expected it and IE6.0 doesn''t do
me good.

http://www.twistedeyes.com/temp/test/main2.html

Just have a look.

What''s the deal with it?

Thanks for any help with it.



Step one: validate your page. You have a fair number of errors. When
your code has errors, you are at the mercy of how a particular browser
handles the errors.


Oliver wrote:

Hi guys,
i stumbled over another problem that i can''t figure out.
Firefox is showing me the table how i expected it and IE6.0 doesn''t do
me good.

http://www.twistedeyes.com/temp/test/main2.html

Just have a look.

What''s the deal with it?

Thanks for any help with it.


Your main problem is that you are using a table for something it was not
designed to do.

Second, IE6 does not properly support XHTML.

Third your XML appears invalid.

Fourth, user agents do render tables differently so they are ill suited
for "locked" designs like yours.

My advice
Drop XHTML, it is of no use unless you really need to use XML. Use HTML
401 strict or even transitional.
Drop the table scheme. Using absolute positioning you can achieve your
effect far more easy with a <div> element.

BTW I like the basketball effect :)


St?le S?b?e schrieb:

Oliver wrote:

Hi guys,
i stumbled over another problem that i can''t figure out.
Firefox is showing me the table how i expected it and IE6.0 doesn''t do
me good.

http://www.twistedeyes.com/temp/test/main2.html

Just have a look.

What''s the deal with it?

Thanks for any help with it.



Your main problem is that you are using a table for something it was not
designed to do.

Second, IE6 does not properly support XHTML.

Third your XML appears invalid.

Fourth, user agents do render tables differently so they are ill suited
for "locked" designs like yours.

My advice
Drop XHTML, it is of no use unless you really need to use XML. Use HTML
401 strict or even transitional.
Drop the table scheme. Using absolute positioning you can achieve your
effect far more easy with a <div> element.

BTW I like the basketball effect :)


OK!
So i did drop the idea of using XML, don''t know why i wanted it there,
maybe i just thought trying the newest stuff.
So i moved to HTML 4.01 transitional. Changed the code and now it''s
valid HTML 4.01 and CSS Code.
Next thing i''ll try is with div tags and absolute positioning. Hope that
does help me, as i need these tables in different sizes and positions.
thanks for your help.
Cheers


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

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