In IE8, the Microsoft introduced a new mode called compatibility mode which would render the page like IE7.
You can see this button next to address bar in stackoverflow.com. But when you access google.com / live.com, you would not see the compatibility mode button. How do we make sure the pages don't show this button the user?
Click Tools in the browser menu bar, and then click Compatibility View. When compatibility view is OFF, a check mark no longer displays next to the Compatibility View option in the Tools menu.
Turn off compatibility modeRight-click the executable or shortcut file and select Properties in the pop-up menu. In the Properties window, click the Compatibility tab. Under the Compatibility mode section, uncheck the box for the Run this program in compatibility mode for option.
Short answer:
Put this in your head tag to tell the browser that your page works in IE 8:
<meta http-equiv="X-UA-Compatible" content="IE=8" />
Also as per Jon Hadleys comment, to ensure the latest (not just IE8) rendering engine is used, you could use the following:
<meta http-equiv="X-UA-Compatible" content="IE=edge">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With