Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I disable "compatibility mode" in Internet Explorer 8 for my website?

When users go on my website, I want to force them to use Internet Explorer 8 non-compatibility mode. If they use compatibility mode, my website doesn't work.

How to force it off? Is it a meta tag?

Edit: Yes, you can do it. The solution is this:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
like image 513
TIMEX Avatar asked Mar 09 '10 19:03

TIMEX


3 Answers

You can do it as a tag or as a setting in IIS (with the tag), set to IE=EmulateIE8

like image 197
Tom Avatar answered Oct 07 '22 18:10

Tom


You can't force IE into non-compatibility mode.

What you can do is to tell the browser that the page works in IE 8, then it will remove the compatibility button in the address bar. A user can of course still force the browser into compatibility mode, but not with just a click of a button.

See: How to avoid ie8 compatibility button?

like image 33
Guffa Avatar answered Oct 07 '22 17:10

Guffa


<meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<META content="IE=edge" http-equiv="X-UA-Compatible">
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="X-UA-Compatible" content="IE=IE9" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />

all and any of it might help but it all depend on your script. You do not need to use all it is just different way to say it. it depend on script that you use on site

like image 25
1Webmaker Avatar answered Oct 07 '22 19:10

1Webmaker