Internet Explorer mode Standards

2

Is there any way to "force" Internet Explorer and render a site in "Standards" mode? Could you inform me of a reading corresponding to this subject?

    
asked by anonymous 22.04.2014 / 18:58

3 answers

3

The simplest way, not only in IE but in any browser, is to use the HTML5 doctype at the top of your document:

<!DOCTYPE html>
    
22.04.2014 / 19:26
1

In some situations, browser compatibility mode may be enabled by default.

I do not know if it's just the company I work for, but here the intranet sites are loaded in compatibility mode by default, even though the doctype is set correctly.

To force IE to render the page in "Standards" mode, even if the option to use compatibility is enabled on the client, use the meta tag / header X-UA-Compatible :

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

The IE=Edge option forces you to use the latest standards.

More information about the available options can be found here .

    
16.09.2014 / 19:08
0

Complementing the above responses, there may actually be several reasons that lead to a site not being displayed in standards mode. Among them we have:

  • Do not use <!DOCTYPE html>
  • Specify the meta tag X-UA-Compatible with content having value for a particular document other than the Edge (eg IE8, IE9, etc.)
  • Have my site in the Compatibility View List on my machine, or my company or Microsoft.
  • Have my Internet Explorer configured to access pages on the Intranet with Compatibility View (access Internet Explorer Compatibility List Settings)
  • Use features like Flash and ActiveX.

Microsoft makes dev.modern.ie the tool Site scan that allows you to analyze your site and point out possible problems and suggestions for improvement. There you can find solutions to update your site and ensure that it will be viewed using the document mode Edge.

For more details, on this link

25.08.2015 / 14:34