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.

Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.