Currently seeking new career opportunities in web development, particularly with Laravel, Hire Me

Force Internet Explorer 8 to render IE 7 or 8

David Carr

Tutorials HTML

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.

Laravel Modules Your Logo Your Logo Your Logo

Become a sponsor

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


My Latest Book

Modular Laravel Book - Laravel: The Modular way

Learn how to build modular applications with Laravel Find out more

Subscribe to my newsletter

Subscribe and get my books and product announcements.

Learn Laravel with Laracasts

Faster Laravel Hosting

© 2006 - 2024 DC Blog. All code MIT license. All rights reserved.