If any site doesn't look good in IE8 and was working fine with IE7, then adding following code can make the IE8 to use the IE7 compatibility mode.
1. <meta http-equiv="X-UA-Compatible" content="IE=7" />
2. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
The code should be added above charset declaration, the sequence is most important.
I have just tested it on one of my websites and it's working perfectly fine.
Please refer to following links for more information on it.
http://www.alistapart.com/articles/beyonddoctype/
http://www.aggiorno.com/what-is-aggiorno-ie8-compatibility-tagging.aspx
http://www.cherny.com/webdev/103/the-ie-8-x-ua-compatible-meta-tag
0 Comments