Forgot your password?
typodupeerror

Comment Re:Mozilla has the tools to help create good pages (Score 3, Interesting) 182

By the way, I do xhtml 1.1 strict, no tables.

Then either you're serving your pages with the wrong MIME type, or they can't be seen in IE at all.

You're not supposed to serve XHTML 1.1 as text/html: you should use application/xhtml+xml. See the W3C's XHTML Media Types. If you're labelling your XHTML 1.1 as text/html, then your browser isn't treating it as XML (note that Mozilla is using Quirks mode, for instance).

Snag is, Internet Exploder (to IE6SP1) doesn't know what to do with application/xhtml+xml, even though there's been a built-in XML parser since IE5, and application/xhtml+xml was defined in RFC 3236 over 2 years ago (and was presumably floating around the standards track for some months before that). But don't worry: just remember that Internet Explorer 6 SP1 gives you the freedom to experience the best of the Internet. At least, that's what it says on the box.

Assuming you're not prepared to be held hostage to the Great Beast, the best workaround at the moment seems to be to use Apache's content negotiation (MultiViews) to lie to IE (and anything else that doesn't know about application/xhtml+xml) that you're giving it text/html.

There's more on this here and here.

Slashdot Top Deals

Everybody needs a little love sometime; stop hacking and fall in love!

Working...