Web Browser "standards mode" & "quirks mode" and doctypes in html & xhtml
W3C QA - Recommended list of DTDs you can use in your Web document
If you search for Web Browser "standards mode", "quirks mode" and doctype, html, xhtml, xml you'll find plenty of information about the "problem" that certain browsers have but little about the "solution" !
I'm still confused but thinking that a solution might just to use PHP instead of HTML and add the following header to my web pages
<? // if (HTTP_USER_AGENT <> a-bad-browser) echo "<?doctype ...stuff...>" ?>
Before I actually code this in PHP do you think it would work ?
Or do you have a better solution ?
Read and post comments | Send to a friend