2

Is it possible to force the client's IE8 to not be in Compatibility mode? I have a site where it looks good in compatibility mode, but of course not as good as IE8 - not to mention newer browsers. As I think about it, I believe it would not be possible, since it's the system setting, but maybe someone was struggling with that one before.

Thank you

bobek
  • 8,003
  • 8
  • 39
  • 75

2 Answers2

3

The whole msdn site gives very good description of compatibility modes.

I suggest reading the information provided there as this will give you deeper understanding the topic, but if you want short answer, different modes are defined like this:

<meta http-equiv="X-UA-Compatible" content="IE=4">   <!-- IE5 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=7.5" > <!-- IE7 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=100" > <!-- IE9 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=a" >   <!-- IE5 mode --> 

<!-- This header mimics Internet Explorer 7 and uses 
     <!doctype> to determine how to display the webpage -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" > 
zeroDivisible
  • 4,041
  • 8
  • 40
  • 62
1

Internet Explorer does have a compatibility mode, you can enable it be using x-ua-compatible meta tag:

<head>
    <title>Page Title</title>

    <!-- Have to positioned before scripts and style tags -->
    <meta http-equiv="x-ua-compatible" content="IE=8">
</head>
Jarzon
  • 615
  • 1
  • 6
  • 16