Ubuntu / Linux news and application reviews.

When Internet Explorer version 6 (IE6) was introduced in 2001 it was a groundbreaking product but browsers were then being developed so fast that it was soon overtaken by others which conformed better with web standards. IE6 quickly became the butt of authors' humour but, in spite of this, 8 years later it is still widely deployed and, although numbers are reducing, its final demise may well be some way off. Consequentially authors still need to design sites that will give visitors using IE6 an acceptable experience.

IE7 is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6. Now there is also a version vor IE8. You should consider using it to make your website bahave better on Internet Explorer browsers.


The library has been made freely available for use. It consists of several scripts which will be described the chief of which is ie7.js. Using this script you can fix many troublesome issues which are not possible using targeted stylesheets

  • Fixed positioning is supported
  • Maximum and minimum width and height are supported
  • Several additional CSS selectors are now supported e.g. parent>child

A complete list of the enhancements is included on the IE7 Test page which shows that some IE5 problems are also corrected.

Among the more significant bugs not corrected by ie7.js are

The first three of these can be corrected by the use of a second script ie7-squish.js which is also included in the library.


All you have to do is add this above the tag:
<!--[if lt IE 7]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script>
<![endif]-->

or:
<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
<![endif]-->


More details, here