HTML, Tutorials

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.

David Carr

David Carr

For the past 12 years, I’ve been developing applications for the web using mostly PHP. I do this for a living and love what I do as every day there is something new and exciting to learn.

In my spare time, the web development community is a big part of my life. Whether managing online programming groups and blogs or attending a conference, I find keeping involved helps me stay up to date. This is also my chance to give back to the community that helped me get started, a place I am proud to be apart of.

Besides programming I love spending time with friends and family and can often be found together going out catching the latest movie, staying in playing games on the sofa or planning a trip to someplace I’ve never been before.