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 8647647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:07:12+00:00 2026-06-12T13:07:12+00:00

I have this web page that begins with <!– DOCTYPE html –> , which

  • 0

I have this web page that begins with <!-- DOCTYPE html -->, which I believe would suffice to indicate HTML 5 and make IE9 interpret it as “IE9 standards”. However, when I navigate to it, IE9 shows it as “Browser mode: IE9 Compat View”, “Document mode: IE7 standards”.

The two first lines in the page are:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

As a result, some of the layout is rendered incorrectly. For example, a right-aligned table cell shows left-aligned. If I manually set IE to “Browser mode: IE9”, “Document mode: IE9 standards”, then things look perfect. Other browsers work fine.

What do I need to change in order to make IE9 recognise HTML 5 and prevent it from working in compatibility mode? Thanks.

  • 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-12T13:07:13+00:00Added an answer on June 12, 2026 at 1:07 pm

    Two things I do:

    <!doctype html>
    

    and

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

    And take out the XMLNS

    Using: http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx

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

Sidebar

Related Questions

I have a web page that consists of a checkbox (parent) and on this
I have to create a web page that for the purposes of this question
If I have a simple web page and script that looks like this: <body>
I currently have a web form aspx page that calls RegisterClientScriptBlock. This sends down
I have a web application that begins with a login page. During the verification
Basically, I have this webpage that is the header on any page you go
I have an ambitious requirement for an asp.net 2.0 web page that contains a
I have a .jsp page that begins with <%@ taglib uri=http://java.sun.com/jstl/core prefix=c %> <%@
Here is what I've got right now... I have a web page that when
I have a web page that runs under an account named, WebUser (IIS runs

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.