From: David L. <jm...@q7...> - 2005-09-27 22:04:37
|
A couple more points. 1. I forgot to mention that the xml pragma throws IE Windows into Quirks mode. 2. By chance someone on another list posted an authoratitive piece on XHTML. It turns out that if you markup a page as XHTML and give it a .xhtml extension then Firefox will *not* render it if it has errors. I quote selectively: Sam Marshall wrote: >You can however use XHTML **1.0**, serve as text/html, and still follow >the standards. If you do this, you should: > > >The easiest way to 'test in a real XHTML browser' is to rename the file >from whatever.html to whatever.xhtml and load it in Firefox from your >hard disk (not a server). Try making a well-formedness error, such as >this: > ><div><span class="unclosed"></div> > >and you'll see that the browser will immediately refuse to display the >page, thus indicating that it's treating it as XHTML. If it's processing >as HTML, it'll still display despite being wrong. Note, that this is only true if you name your file ,xhtml (which IE will, I think, refuse). If you name it .html FF will do it's best with the page. David |