'How do I switch to IE8 compatibility mode in IE9?

As title says - I need a way of viewing a page in IE8 compatibility mode. The option to do this isn't found in developer tools and I can't seem to find any compatilibty settings in the browser's tool menu.



Solution 1:[1]

you should see a small broken paper icon next to the url bar -> enter image description here, click it.

http://windows.microsoft.com/is-IS/windows7/How-to-use-Compatibility-View-in-Internet-Explorer-9

Solution 2:[2]

Add the following line of text as first dom element after 'head' element.

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

Can also switch to "IE=EmulateIE7" to emulate IE7.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Christophe
Solution 2 Panoramus