Click here to get back home

Serving XHTML as XHTML does *really* weird things.

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Serving XHTML as XHTML does *really* weird things. -Lost 06-18-2007
Get Chitika Premium
Posted by -Lost on June 18, 2007, 10:46 am
Please log in for more thread options


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.

Posted by Andy Dingley on June 18, 2007, 11:30 am
Please log in for more thread options



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

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.


Posted by -Lost on June 18, 2007, 12:49 pm
Please log in for more thread options


Andy Dingley wrote:
>
>> What makes my XHTML pages render as one to two inch strips across the
>> top of the browser?
>
> 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.

Gotcha. This is obviously something to do with CSS that I didn't
understand.

Thanks for the information.

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

Similar ThreadsPosted
Weird things about vertical spacing in HTML March 6, 2008, 2:16 pm
how to switch on Standards-compliant mode for IE6 when using the trick w3 provided for serving xhtml as application/xml to IE January 22, 2007, 9:23 pm
More accurate testing of XHTML documents with XHTML Proxy June 5, 2006, 6:50 pm
Javascript failing xhtml [xhtml newbe] August 9, 2005, 2:49 pm
Old XHTML to new XHTML/CSS: Paragraph line? January 17, 2007, 6:00 am
html 4.01, xhtml 1.0 or xhtml 1.1 July 19, 2008, 3:31 pm
Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon July 20, 2008, 12:28 am
Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon July 20, 2008, 1:56 am
Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon July 21, 2008, 6:05 am
Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon July 25, 2008, 8:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap