EP: Internet Explorer (IE) & Modes, A Simple Overview – Part 2
In the last blog posting we highlighted and provided a brief overview on the different complexities which can arise with various web browser platforms and the parameter settings which support them. Catch Part 1 http://scn.sap.com/people/troy.cronin2/blog
Now with browser related issues the key towards their resolution is simplification and maintaining a high level analysis viewpoint.
In this blog posting we are going to discuss the parameters themselves with a brief overview on each.
Navigation & Different Mode (Parameters)
From a purely navigation approach we are dealing with two key modes which are that of Browser & Document Mode.
- Browser Mode: A user agent string sent to the server (which affects the User Agent only).
- When compatibility mode is selected the the User Agent is set to the oldest supported setting for the current browser.
- Tools > Compatibility View > F12 > Navigation > Navigation.UserAgent
- IE10, IE10 Compatibility View, IE9, IE8, IE7.
- User Agent: essentially a string (textual) which identifies the Browser & OS to for the Web Server.
- IE5 Quirks: oldest document mode. IE tells the server its browser mode. According to the browsers mode the server decides which resources CSS/JS should be sent back to the Browser.
- Document Mode: Determines how the browser (IE) renders the page.
- Essentially tells browsers how it wants it to be rendered.
- Browser decides which rendering engine should be used.
- Quirks: displays webpages as if users view them with older versions of the browsers.
- Standards: HTML 5 engine, new features are only supported in this mode.
Important Points to Remember.
As we mentioned with so many different setting highlights at play its quite easy to confuse one setting from another.
From a high level perspective let us remember that Document Mode determines how Internet Explorer is rendered. Quirks Mode displays the webpages as if they are within older IE versions while Standards Mode follows the HTML5 Engine with new features supported. The Quirks Mode syntax is different from the Standards Mode syntax.
DOCTYPE is only in standards mode.