/ Published in: HTML
„Versioning and Cross-document InteractionInternet Explorer 8 introduces the IE8 standards mode by default—this lets Web designers use the latest rendering features available in Internet Explorer 8. In addition to layout changes, IE8 standards mode will also affect the behavior of scripted APIs (DOM).
To opt-out of IE8 standards mode, the META tag may be used to obtain IE7 compatibility mode“
Take a look at http://code.google.com/p/ie7-js/ too.
This is a tiny JS library to makes IE versions behave like a standard browser.
To opt-out of IE8 standards mode, the META tag may be used to obtain IE7 compatibility mode“
Take a look at http://code.google.com/p/ie7-js/ too.
This is a tiny JS library to makes IE versions behave like a standard browser.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* -- send as http header too -- */ // in PHP header('X-UA-Compatible:IE=7'); <meta http-equiv="X-UA-Compatible" content="IE=7"> <meta http-equiv="X-UA-Compatible" content="IE=4"> <!-- IE5 mode --> <meta http-equiv="X-UA-Compatible" content="IE=7.5"> <!-- IE7 mode --> <meta http-equiv="X-UA-Compatible" content="IE=100"> <!-- IE8 mode --> <meta http-equiv="X-UA-Compatible" content="IE=a"> <!-- IE5 mode --> <meta http-equiv="X-UA-Compatible" content="IE=7; IE=8" /> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"> <html> <head> <!-- Choose IE7 mode --> <meta http-equiv="X-UA-Compatible" content="IE=7" /> </head> <body> </body>
URL: http://msdn2.microsoft.com/en-us/library/cc288325(VS.85).aspx#SetMode