[cfe-dev] patch for auto show/hide macro expansion in CSS

Cédric Venet cedric.venet at laposte.net
Fri Apr 18 10:01:20 PDT 2008


> XHTML doctypes are a very fast way to trigger quirks mode in those
> browser that recognise xhtml (ie. not IE which will
> treat the doctype as nonsense and go into quirks mode anyway)

>From my experience, xhtml work well with IE6&7 et FF. The problem of serving
xhtml as text/html is more serious. Anyway I wasn't especially attached to
xhtml, it was just that I copied it from the last webpage I wrote.

> 
> In general the HTML5 doctype will trigger standards mode in most
> browsers (Firefox, IE, Opera, and anything
> WebKit based) and that's very simple:
> <!doctype html>

From:
http://en.wikipedia.org/wiki/Quirks_mode

it seem NS6 don't like it and using a html5 doctype for html4 page seem a
little strange.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/html4/strict.dtd">
or
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Could be better...

Cédric





More information about the cfe-dev mailing list