12 June 2009

IE8 and IE7 compatibility mode

If you are experiencing problems with IE8 rendering a website correctly, then you may find that forcing the browser to use IE7 compatibility mode may be the solution.

I recently tried this on a website and it works; simply add the following code into the header:

meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"

NB. the opening < and the closing /> have been removed to allow posting.

This code will force IE8 to run in IE7 mode even if the browser is set to run in IE8 Standards mode.

No comments:

Post a Comment