Friday 16 December 2011

How to make IE8 emulate IE7, but tell IE9 to run normally


This will make IE8 parse your web page in IE7 emulation mode, but IE9 will be running as normal. The trick here, contrary to Microsoft's own recommendations, is to put comma and not a semicolon after EmulateIE7

<!doctype html> 
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, IE=9" />

No comments:

Post a Comment