Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing the following website and just discovered that the styling of the navigation does not work well in IE9 but is great in IE8 and other browsers - how do sort this out?

share|improve this question

You can use document compatibility mode.

  <!-- Mimic Internet Explorer 8 -->
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
  <title>My webpage</title>
  <p>Content goes here.</p>

You can also set this as an HTTP header. If you are using Apache you can place this in an .htaccess file in your route directory to accomplish the same thing:

Header set X-UA-Compatible "IE=8"
share|improve this answer

or simply you can use CSS - Conditional comments for IE



which will be quiet simple if you are a newbie hope it helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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