Revision: 5664
                            
                                                            
                                    
                                        
Updated Code
                                    
                                    
                                                    
                        at March 28, 2008 04:21 by localhorst
                            
                            Updated Code
/* -- 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" />
  <title>My Web Page</title>
</head>
<body>
  <p>Content goes here.</p>
</body>
                                
                            Revision: 5663
                            
                                                            
                                    
                                        
Updated Code
                                    
                                    
                                                    
                        at March 25, 2008 09:53 by localhorst
                            
                            Updated Code
<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" /> <title>My Web Page</title> </head> <body> <p>Content goes here.</p> </body>
                            Revision: 5662
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at March 24, 2008 14:18 by localhorst
                            
                            Initial Code
<meta http-equiv="X-UA-Compatible" content="IE=7">
Initial URL
http://msdn2.microsoft.com/en-us/library/cc288325(VS.85).aspx#SetMode
Initial Description
„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.
Initial Title
How to set IE8 in previous (IE7, IE5) rendering mode for backwards compatibility
Initial Tags
browser
Initial Language
HTML