>From: Andrew Clover [EMAIL-REMOVED]>
Thank you for an exceptionally clear explanation of Tantek Celik's box model hack and the simplified
>This applies to both the original BMH and the SBMH. First, you must use
>a Strict-mode DOCTYPE in your HTML. IE6 supports CSS escapes properly,
>but it will only use the correct box model in Strict. In Quirks mode it
>would read the 'correct' value from the CSS but use it in the same 'wrong'
>way as IE5 did.
This was the one bit that confused me a little. My understanding of the IE mode switch was that if
your DOCTYPE contains a URL, it uses the modern rendering engine, otherwise it uses the
backward-compliant quirks mode. So for example, the following DOCTYPE would use the shiny new
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
But the following would use the old quirky renderer:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
The way you wrote the above paragraph, however, implies that both of these will use the quirky old
renderer, and that in order to use the shiny new renderer, your DOCTYPE would have to be something
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Is this true? Are XHTML 1.0 Transitional documents rendered with the old engine?
Ralph Brandi [EMAIL-REMOVED] http://www.brandi.org/
"Any revolution that goes on for too long is by definition a failure.
The idea is to become the establishment." - Linus Torvalds