ram@zedat.fu-berlin.de (Stefan Ram) writes:
> dorayme <doraymeRidThis@optusnet.com.au> writes:
>>You have to serve XHTML as ³text/html² for both.
>
> While XHTML 1.0 may be served as text/html, the
> W3C requires XHTML 1.1 to be served as
> application/xhtml+xml, if I remember correctly.
You do, but no version of IE will render XHTML when it's served according
to spec. And when it's served as text/html, IE uses its traditional HTML
parser, *not* an XML parser.
That's why XHTML it pointless - because the most common browser in use
today doesn't recognize it as such. All it sees is slightly broken HTML.
That being the case, the smart thing to do is to give it correctly served
and valid HTML instead.
sherm--
--
My blog:
http://shermspace.blogspot.com
Cocoa programming in Perl:
http://camelbones.sourceforge.net