Black Friday sale is now on! 50% off Laravel: The Modular Way. Learn more

Force Internet Explorer 8 to render IE 7 or 8

David Carr

HTML Tutorials

    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 Book by David Carr

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

    Subscribe to my newsletter

    Subscribe and get my books and product announcements.

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