none
removing X-UA-Compatible from Sharepoint site RRS feed

  • Question

  • Hi all,

     

    I am working on sp 2010 deployment and I am running into an issue viewing a chart that renders fine in FF and Chrome, but in IE it having issues rendering, however, when i remove the following tag from master page

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

    my issue is resolved but all of the content on the page gets scattered all over as if it missing my styles

    I was wondering what would happen if I removed it completely, plus I read somewhere going forward we should be using

    <!DOCTYPE html>
    
    for better rendering

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

    Any thoughts?

    Thanks,
    Al

    Wednesday, September 21, 2011 5:58 PM

Answers

  • If you remove <meta http-equiv=”X-UA-Compatible” content=”IE=8”> , it will force IE9 to act like IE8 and no HTML5 render will be available.


    Aryan Nava | Twitter: @cloudtxt | Blog: http://virtualizesharepoint.com
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you.

    Disclaimer: This posting is provided "AS IS" with no warranties.

    • Marked as answer by Wayne Fan Thursday, September 29, 2011 8:38 AM
    Thursday, September 22, 2011 2:39 AM

All replies

  • If you remove <meta http-equiv=”X-UA-Compatible” content=”IE=8”> , it will force IE9 to act like IE8 and no HTML5 render will be available.


    Aryan Nava | Twitter: @cloudtxt | Blog: http://virtualizesharepoint.com
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you.

    Disclaimer: This posting is provided "AS IS" with no warranties.

    • Marked as answer by Wayne Fan Thursday, September 29, 2011 8:38 AM
    Thursday, September 22, 2011 2:39 AM
  • This is incorrect information. The purpose of the <meta http-equiv=”X-UA-Compatible” content=”IE=8”> tag is to force IE9 to render in IE8 compatibility mode.

    This tag was placed into SharePoint masterpage for compatibility purposes. This tag disables some of the HTML5 and CSS3 features in IE9.

    You can test this is your own simple html page with IE9 by placing the above tag in the <head> section. Inside the IE9 developer tools (F12 or options->F12 developer tools) you can see the document mode will say IE8 standards. If you remove the above meta tag and look at the developer tools again, you should see the document mode indicating IE9 standards.

    I tested this functionality using the following CSS properties on an element.

    border-top: 5px solid #3399FF;
    border-bottom: 1px solid #3399FF;
    border-left: 1px solid #3399FF;
    border-radius: 5px 0px 0px 5px;


    Wednesday, August 22, 2012 8:23 PM
  • This is incorrect.  In fact you have it completely backwards because you have lifted this line from someone else's blog without context and replaced a period with a comma.

    See below for the complete blog post.

    https://blogs.msdn.microsoft.com/opal/2010/09/16/ie9-sharepoint-2010-html5/ 

    I hate flaming people but I hate incorrect, stolen answers even more.

    Tuesday, August 1, 2017 1:52 AM