Zen Follower
- Join Date:
- Dec 2009
- Posts:
- 236
- Plugin Contributions:
- 0
Try this if you are having rendering problems in IE8
Hi all, in the process of migrating my next webstore to ZC, I noticed that IE kept throwing my page into the dreaded 'quirks mode'
I repaired every faulty tag I could find, even to the point where the W3c Validator http://validator.w3.org/ passed my layout as being compliant. (But of course IE STILL threw the page out)
I found a site that let you preview your layout in different versions of IE, and this is where i noticed that ONLY IE 8 was causing the problem.
(The problem just briefly, being that my main content div would be pushed down the page by a few hundred pixels.)
Ive added this code into my html_header.php file;
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
This forces IE8 to render like its actually IE7.
My problem is now gone. Im still not 100% sure what caused it in the first place, but I suspect its something to do with IE8s multi language support (a new feature) but thats really a guess.
The main thing is, the layout now renders correctly in IE, FF and Safari on both Mac and Pc for me and I dont get any more quirks mode warnings.
I thought I would post the fix i discovered, as the problem has been driving me batty for weeks now.
Cheers,
Scott.