Sent by Nick Fitzsimons on 21 December 2005 17:05
> So, if you'll write /complete/ doctypes, of the type currently recommended
> by the W3C[2] for HTML4.01 or XHTML1.0, and if you'll heed the information
> regarding the xml declaration or other things preceding the doctype, then
> IE6 will render in "standards-compliant" mode, at least as far as the Box
> Model [3,4] is concerned.
>
One thing I've found useful on many occasions is to create a bookmarklet
(or favelet, if you prefer) with the following code as the URL:
javascript:alert(document.compatMode)
and stick it on my Links toolbar. Whatever site you're on, click the link
and it will display "BackCompat" for quirks mode, and "CSS1Compat" if the
page is in standards mode (assuming JavaScript is enabled in the browser).
This also works in Firefox (but probably not in Opera).
Regards,
Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/