Hi, my name is David Carr and I'm a PHP Developer.

Blog Archives Categories Authors About Me Open Source Books Contact Me

Sponsor Me

Help support the blog so that I can continue creating new content!

My Latest Book

Laravel: The Modular way

Learn how to build modular applications with Laravel Find out more

Force Internet Explorer 8 to render IE 7 or 8

HTML | Tutorials

David Carr

Force Internet Explorer 8 to render IE 7 or 8

Avoid the headache's of compatibility problems when using Internet Explorer 8 by forcing it to render a particular version.

To force internet explorer 8 to render your pages using it's 7 or 8 engine or even 9 once it's out is a simple matter of placing a meta tag in your header and specifying what version of internet explorer to render.

The meta tag is formatted in the following manor simply replace x with the version of Internet Explorer your targeting.

<meta http-equiv="X-UA-Compatible" content="IE=x" />

Internet Explorer 7

<meta http-equiv="X-UA-Compatible" content="IE=7" />

Internet Explorer 8

<meta http-equiv="X-UA-Compatible" content="IE=8" />

Should make life a little easier for IE8 users.

Copyright © 2009 - 2022 David Carr. All code MIT license. All rights reserved.