You are here: Home » Archives for IE8
How to use Internet Explorer 8 (IE8) compatibility view mode
Posted by mariusvw
Everybody knows that Internet Explorer can be a bitch... And so for IE8!
For the scripts who do not work right yet on IE8 there is a way to put IE8 in compatibility mode so you can view the website in a IE7 sorta like environment.
In PHP you have to send the following header, my advice is to add it to your first index file if you handle everything through this index.
<?php header('X-UA-Compatible: IE=EmulateIE7'); ?>
Or you can add a header in the HTML head with a meta tag.
Add this right after the <head> tag:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
In the same way specify IE=5, IE=7, or IE=8 to select one of those compatibility modes. A complete table is given below.
I hope this makes your life with Internet Explorer a bit easier!
Ps. If you want to break this feature, you could use something like this to force IE to always be compatible:
<?php header('X-UA-Compatible: IE=100'); ?>

Donations
Follow Me!
Categories
- BSD / Linux / Unix (76)
- Fun (1)
- General (4)
- How to (95)
- Lovebirds (6)
- Mac OS X (24)
- Webdevelopment (31)
Random Quote
You might call me a doom scenario creator but in fact you are just not thinking realistic your self!




