R – IE8 in IE7-compatibility mode with extended CSS support

cross-browserinternet-explorer-7internet-explorer-8

When IE8 is in IE7-compatibility mode it behabes like IE7 in quirks mode, which means there is no support for the new CSS features that IE7 supports (e.g. object selectors –child selectors, adjacent selectors, etc..).

How can I make IE8 to emulate IE7's standard mode rather than quirks mode??


Note:
The purpose of this is not to find out how will my page look under IE7. I have VMs with all major browser versions, so that's not a problem.
What I want is to make IE8 to interpret my pages in IE7-compatibility mode since they work well in the actual IE7's standard mode but they dont work well on IE8's standard mode nor IE8's quirks mode.

Best Answer

Use the IE8 Debug Toolbar to change document mode.

  1. Hit F12 key to bring up IE Debug Toolbar.
  2. Change Browser Mode to IE 7.
  3. Change Document Mode to Internet Explorer 7 Standards.

This should give you what you're looking for.