David Hucklesby wrote:
> On Wed, 18 Feb 2009 23:28:03 +0100, Gunlaug Sørtun wrote:

>> <http://www.gunlaug.no/contents/wd_additions_16.html>
>> 
> 
> I do enjoy your articles, Georg.

Thanks :-)

> Just one thing more -- visitors coming to your website via Google's 
> cache will see IE 6 in quirks mode anyway.

...and IE7, IE8 etc. In fact: all browsers revert to quirks mode
rendering when documents are retrieved through Google's cache, AFAIK.
It is all the Google markup above the doctype that's responsible.

That's one reason why I make sure IE falls back to a simple and stable
fixed-width quirks mode layout, since none of the regular CSS and
various workarounds necessary to make IE6 and the other IE versions
behave and appear as good browsers, will work then. You might say I have
designed for the Google's cache enforced quirks mode too, in addition to
all the other variables.

OTOH: only IE needs doctype for mode-switching to get out of the IE5.5
equivalent quirks mode...
<http://www.gunlaug.no/contents/wd_additions_34.html>
...while other browsers will render more or less the same regardless of
mode for documents like mine, since I style in a mostly mode-independent
way. I only add a doctype so I can check validity against the relevant
(X)HTML standard, and for no other reason. Besides: HTML Tidy kindly
adds the right doctype for me anyway, so I don't have to bother.


It pays to know those browser modes, or moods, and I have never really
understood why doctype was turned into a mode-switch in the first place...
<http://www.gunlaug.no/contents/wd_additions_25.html>


Result:
1 point for W3C web standards and mode-independent styling.
0 points for a whole bunch of "best practices" and reliance on
mode-switching.

Next "victim": (X)HTML 5 ;-)

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to