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

  • Home
  • SEARCH
  • 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 8879665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:59:55+00:00 2026-06-14T19:59:55+00:00

When I tested a new asp.net MVC app I created on another machine the

  • 0

When I tested a new asp.net MVC app I created on another machine the layout was incorrect and seemed strange in IE9. When looking at Developer Tools the Mode/Standards were set to older versions and even Compatibility Mode. I changed this back to IE9 and was ok again.

But then when I reopened the site it had set these values back again, is there some default for these that keep overriding or is my app for some reason causing these values to change to older versions?

  • 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-14T19:59:56+00:00Added an answer on June 14, 2026 at 7:59 pm

    There is some mechanism, which IE browser family uses to guess what rendering mode would be the best. There is more reading about this topic:

    X-UA-Compatible is set to IE=edge, but it still doesn't stop Compatibility Mode

    So there is a way how to say, which IE version you are targeting. Put this html tag as the first (really the first) in the <head> element after the <title>

    <!DOCTYPE html>
    <html>
      <head>
        <title>My Web</title>
        <meta http-equiv="X-UA-Compatible" content="IE=100" >
        ...
    

    content should be contain="IE=8" if you are targeting IE 8.0, IE=100 will work for IE 9.0++.

    I’ve read that this behavior won’t work on intranet, but my experinece
    is different. The point is that that <meta> element MUST be the first!
    The first means, no comment before. Nothing just the first one after the title.

    For example, I do some investigation on the server side in code to check what version it is, and put the meta related to the browser – as the first element

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

Sidebar

Related Questions

A tester of my new app reported problems with authorization support in ASP.NET MVC
I'm trying out TDD on a greenfield hobby app in ASP.NET MVC, and have
I use Requestl.Url in my ASP.NET MVC application to provide a new page the
I am testing Account Controller in asp.net mvc project. I tested all methods and
ASP .NET 4.0 with MVC 3.0 So here's the situation: I am new to
I've got an ASP.NET 4 app being developed and tested against http:// localhost/mysite -
I've just deployed my first ASP.NET MVC 2 site, and all appears to be
Trying my way on a little bit of JSON here in my asp.net mvc
I am following the Nerd Dinner tutorial as I'm learning ASP.NET MVC, and I
I noticed that ASP.NET 4 has a new feature called 'Routing' or something similar.

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.