将XHTML作为XHTML服务确实*非常奇怪。 [英] Serving XHTML as XHTML does *really* weird things.

查看:92
本文介绍了将XHTML作为XHTML服务确实*非常奇怪。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Firefox和Safari中,例如,如果我将我的XHTML文档作为

application / xml或xhtml + xml提供,它们只会显示

的顶部大小。文件。


在Opera中它说对象已被阻止。


在Internet Explorer中,你当然会得到完全垃圾。来自

"页面的任何内容都无法加载到403没有许可。


事情是,我认为前两个至少可以处理它,也许

甚至Opera。我知道IE会如何处理它。


当然,我知道在网络上使用XHTML的注意事项,但无论如何

我想知道为什么它这样做。


是什么让我的XHTML页面在浏览器的

顶部呈现为一到两英寸的条带?

如果有人需要一个示例页面进行检查,请告诉我。


-

-Lost

删除多余的单词以通过电子邮件回复。不要给我发电子邮件。我是开玩笑的。不,我不是。

In Firefox and Safari for example, if I serve my XHTML documents as
application/xml or xhtml+xml they only display the top inch or so of the
document.

In Opera it says "object has been blocked."

In Internet Explorer of course you get total rubbish. Anything from
"page cannot be loaded" to "403 no permission."

The thing is, I figured the first two at least could handle it, maybe
even Opera. I knew how IE would handle it.

Granted, I know the caveats of using XHTML on the web, but irregardless
I would like to know why it behaves this way.

What makes my XHTML pages render as one to two inch strips across the
top of the browser?

If anyone needs an example page to inspect, let me know.

--
-Lost
Remove the extra words to reply by e-mail. Don''t e-mail me. I am
kidding. No I am not.

推荐答案

2007年6月18日星期一,-Lost写道:
On Mon, 18 Jun 2007, -Lost wrote:

如果有人需要一个示例页面进行检查,请告诉我。
If anyone needs an example page to inspect, let me know.



是。


-

在记忆中Alan J. Flavell
http://groups.google.com/ groups / sear ... Alan.J.Flavell


Andreas Prilop写道:
Andreas Prilop wrote:

2007年6月18日星期一,-Lost写道:
On Mon, 18 Jun 2007, -Lost wrote:

>如果有人需要一个示例页面进行检查,请告诉我。
>If anyone needs an example page to inspect, let me know.



是的。


Yes.

http://mndhmm.com/


目前正在服务:application / xhtml + xml


-

-Lost

删除通过电子邮件回复的额外单词。不要给我发电子邮件。我是开玩笑的。不,我不是。

http://mndhmm.com/

Currently being served as: application/xhtml+xml

--
-Lost
Remove the extra words to reply by e-mail. Don''t e-mail me. I am
kidding. No I am not.


6月18日,15:46,-Lost< maventheextrawo ... @ techie.comwrote:
On 18 Jun, 15:46, -Lost <maventheextrawo...@techie.comwrote:

是什么让我的XHTML页面在浏览器的

顶部呈现为一到两英寸的条带?
What makes my XHTML pages render as one to two inch strips across the
top of the browser?



事实上它是一个非常短的页面(你将div高度明确地设置为
到95px)。然后有一个小便条贴在

底部,但你用绝对定位,所以它不再是页面流的一部分




这是一个CSS问题,由你自己编写的不正当的CSS引起的。
你自己。它不需要XHTML来解释它。

The fact that it''s a very short page (you set the div height
explicitly to 95px). Then there''s a little post-it note stuck down the
bottom, but you positioned that with absolute, so it''s no longer part
of the page flow.

This is a CSS issue, caused by perverse CSS that you''ve written
yourself. It doesn''t need XHTML to explain it.


这篇关于将XHTML作为XHTML服务确实*非常奇怪。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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