You are here: Re: What if you don't have a thead/tbody/tfoot? « HTML « IT news, forums, messages
Re: What if you don't have a thead/tbody/tfoot?

Posted by Sherman Pendley on 01/08/08 20:07

TonyV <kingskippus@gmail.com> writes:

> On Jan 6, 2:15 pm, Sherman Pendley <spamt...@dot-app.org> wrote:
>> In practice, it doesn't matter, since neither IE6 nor 7 has a real XHTML
>> parser anyway. If you serve it as text/html, they'll display it, but they
>> use their HTML parser to do it, treating the contents of your page as HTML
>> and ignoring the extra slashes and unknown elements as part of its error
>> handling.
>>
>> It won't validate, but validation isn't very useful for something that
>> depends on IE's error correction to display properly in the first place.
>
> This is true, the page will still render. However, I would really
> like it to be coded according to the standards in place, even if I
> don't agree with them. I've never been of the "work around the
> standards if they don't suit your needs" philosophy;

XHTML doesn't work at all without such workarounds; IE doesn't display it
at all unless it's served at text/html, and when it *is* served that way,
IE uses its HTML parser to display it.

So even if your XHTML page validates, you're still relying on IE's HTML
engine, which is not aware of XHTML at all, to ignore the extra slashes
and any other XML-isms that it sees as errors in HTML.

If you really wanted to avoid workarounds and hacks, you wouldn't be using
XHTML to begin with. Once you've started down that path, lying about the
content type and relying on IE's error handling to do something sensible
with markup it doesn't understand, it seems rather absurd to draw the line
at a missing tfoot element.

> On Jan 6, 11:59 am, Neredbojias <monstersquas...@yahoo.com> wrote:
>> Yeah. I flip a tbird in the general direction of the w3c and eliminate the
>> extraneous crap from the page.
>
> As noted, I don't feel this is a practical long-term solution.

You've already abandoned practicality in favor of buzzword compliance, by
using XHTML markup to begin with.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация