IE8 Quick Fix - one line for your headers
Posted: April, 09 2009
Internet Explorer 8 (IE8) Fix - Fix IE8 from displaying website content incorrectly with one simple line of code in the header of your pages.
Internet Explorer 8 (IE8) supports additional HTML and CSS standards that are not supported in previous versions of Internet Explorer.
However, this also means that some websites will behave differently in IE8 than previous versions of IE. [more info on these IE8 changes]
Show me the code
Symptoms may include:
- Menus, images or text may appear to be displayed in the wrong place.
- Website features may not work.
- Scripting error messages may be displayed.
- Internet Explorer stops responding or working on your website.
If your website exhibits any of these symptoms with IE8, but works fine with other web browsers, you can add a meta tag to your website that instructs Internet Explorer 8 to display your web page in an “Internet Explorer 7″ emulation mode. Running a webpage in IE7 Emulation Mode:
Add the following code to your header
<meta http-equiv="X-UA-Compatible" content="IE=7" />
This tells Internet Explorer 8 to display your page in IE7 emulation mode.
This meta tag should be entered immediately after the <head> tag to run correctly.
Example:
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>My Web Page</title>
</head>
<body>
<p> My web page content. </p>
</body>
</html>
More information regarding the different compatibility modes of IE8 can be found at: http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx
Related Articles
- 01.05.09: ASUS Driver for WinXP (9)
- 05.11.09: Google showing different search results whilst logged in [FIXED] (1)
- 24.05.09: How to view website on a shared IP (0)
- 01.06.09: Common FTP codes and their meaning (0)
- 07.11.09: Convert Word, Excel and Powerpoint files from old to new formats (2)







Comments RSS Feed




This works perfect, now I just have to apply it to 400 pages. Thanks for this fix.
Go to Top of the page
Once again M$ does something to muck up the Internet!
Spot on with the cure here, big thank you.
Just to note the positioning of the tag immediately after the first head is crucial. I had it down with my other meta tags with no result.
I owe you a beer or two!
Go to Top of the page
Fantastic, applied this to the header include file and entire site is fixed with a single copy and paste.
Worked a dream! Thank!
Go to Top of the page
Thanks so much, I’ve been searching for a direct answer to this problem and microsoft of course seems to skirt around it.
I’ve added this code into the websites I work on and I once again thank you for your support!
*adding website to favorites*
Go to Top of the page