Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My website's display alignment is totally out in IE-9. Therefore I apply this statement to fix the problem:

<meta http-equiv="X-UA-Compatible" content="IE=8" />

Now using Windows-8 with IE-10, the website's display alignment again is out. With the current statement

<meta http-equiv="X-UA-Compatible" content="IE=8" />

It does not help at all. Is there other alternative?

share|improve this question
Can you add link to your site? This can speed things up. – Petr Abdulin Oct 24 '12 at 10:14
2  
Would it not be easier to fix the alignment problem within IE considering the problem exists in both IE9 and IE10 the same solution likely would work. – Ramhound Oct 24 '12 at 10:51
+1 Fix the underlying issue instead of looking for workarounds. – Karan Oct 24 '12 at 21:51
2  
You should post this in StackOverFlow :) – SnippetSpace Oct 25 '12 at 14:51

closed as off topic by Louis, Brad Patton, 8088, Tog, Dave M May 4 at 13:48

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

2 Answers

There is a legacy quirks mode, different to the normal quirks mode which you could try:


The legacy quirks mode is called "IE5 Quirks mode" and behaves as quirks mode in IE9. You can turn it on with X-UA-Compatible: IE=5 HTTP header or <meta http-equiv=X-UA-Compatible content="IE=5"> tag. In this mode, IE renders the page as old IE5.

The above from this answer: http://stackoverflow.com/a/11865561/593627


So, try replacing <meta http-equiv="X-UA-Compatible" content="IE=8" /> with <meta http-equiv=X-UA-Compatible content="IE=5">.

share|improve this answer
Hello, replaced but it is getting worst. Is there other alternative? – Alvin Lim Oct 24 '12 at 12:03
I'm not sure to be honest, sorry. – George Duckett Oct 24 '12 at 12:05

I'm not an expert in web standards and browser rendering, but I've stumbled across this post which suggests that IE 10 no longer reacts to X-UA-Compatible headers.

share|improve this answer
hello: this is the example html: is.com.sg/spms/services.html After applying the statement, the alignment is still out for IE10. But it is working perfectly in Chrome & firefox <!--[if ie]><meta http-equiv=X-UA-Compatible content="IE=Edge" /><![endif]--> – Alvin Lim Dec 18 '12 at 3:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.