Make Internet Explorer behave like a standards-compliant browser
First of all, when you start a new project, you should not forget about the IE7.js project from google code. This is a java script library that makes Internet Explorer behave like a standards-compliant browser. It also fixes transparent PNG's and now are displayed correctly.
All you have to do is to add the following code to the HEAD element on your webpage. This makes IE5-6 to be compatible with IE7.
<!--[if lt IE 7]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script>
<![endif]-->
CSS selectors, properties and other bugs are now fixed. Check the examples on the project page for details. There is also an IE8.js script that makes any IE5-7 browser behave like Internet Explorer 8.



Thanks Marius! I'm just
Thanks Marius!
I'm just working on a project that really needs this.
Andrei
This works very well for any
This works very well for any php project, but I never got it to work with Drupal. Maybe you'll have more luck
Post new comment