IE8 beta and CSS/ JavaScript compatibility quick fix
by
, 02-27-2009 at 06:33 AM (26191 Views)
IE8 has yet to formally launch, though the Beta and RC releases have been available for download for developers and those curious already. The advent of a new browser always brings up new issues with compatibility, and IE8 beta is no different. I've gotten quite a few emails lately regarding a DHTML script or CSS code not quite working properly in the new browser. A handful of scripts on DD fall into this group. I plan on eventually checking all scripts on DD for IE8 once it's officially released, when all the dust has settled in terms of changes to the browser's rendering engine. In the meantime, however, a quick way to fix pages on your site that don't quite function properly in IE8 beta is just to add the IE7 mode meta tag to the HEAD of your page:
This META tag causes IE8 to utilize IE7's rendering behavior while still maintaining all IE8 features. This approach is in fact recommended by Microsoft as a way to easily resolve any current IE8 rendering issues.Code:<head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> </head>