Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7794817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:53:11+00:00 2026-06-01T22:53:11+00:00

We have some strange issue with some internet explorer versions, so we have a

  • 0

We have some strange issue with some internet explorer versions, so we have a browser switch

<head>
<!--[if IE 6]>
  <!-- load some IE6 stuff -->
  <meta http-equiv="X-UA-Compatible" content="IE=6" />
<![endif]-->
<!--[if IE 7]>
  <!-- load some IE7 stuff -->
  <meta http-equiv="X-UA-Compatible" content="IE=6" />
<![endif]-->

<!--[if IE 8]>
  <!-- load some IE8 stuff -->
  <meta http-equiv="X-UA-Compatible" content="IE=8" />
<![endif]-->

<!--[if IE 9]>
  <!-- load some IE9 stuff -->
  <meta http-equiv="X-UA-Compatible" content="IE=8" />
<![endif]-->
</head>

If I load it like this, I see in the IE9 Developer add-on:

HTML1115: The X-UA-compatible META-Tag (“IE=8”) was ignored, because
the documentmodus was already loaded.

(originally its in german, so i this should be the translation)

and the document modus is still to IE9

If i wrote it hard into my <head> tags:

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

The IE9 is going to be loaded as IE8, so this works, but then the IE6 stuff of course is doing it wrong….

So is there any way to do it like i was first trying to do it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T22:53:12+00:00Added an answer on June 1, 2026 at 10:53 pm

    You can’t do it such way. There’s only limited number of things that can be used before X-UA-Compatible meta element.

    The X-UA-Compatible header is not case sensitive; however, it must
    appear in the header of the webpage (the HEAD section) before all
    other elements except for the title element and other meta elements.

    (from http://msdn.microsoft.com/en-us/library/ie/cc288325%28v=vs.85%29.aspx )

    This is why your markup doesn’t work as expected – conditional comment causes that all following X-UA-Compatible declarations are ignored.

    Also note that X-UA-Compatible is supported only in IE8 and newer versions – it’s completely ignored in IE6 and IE7. If you use only the following:

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

    then IE6 and IE7 will use their own rendering and all versions from IE8 upwards will render the document as IE8.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this strange issue with some third party DLL's. The third party provider
So I have some strange issue with nl2br so I have the following code:
Strange Issue. I have the some code that queries a database and prases the
I have some strange issue using jQuery Validation plugin. Firs of all here is
I have a strange issue with Hibernate 3.5 which I hope some one can
I have some strange issue with isset() function in PHP. Let me show... .
I have a very strange issue going on here. It's only occurring on Internet
We have a strange issue where Google's webmaster tools is alerting us to some
I have a very strange issue that only affects webkit browsers for some reason,
I have some strange linking problem in my Visual Studio 2005 C++ project. As

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.