Using Dean Edwards’ IE7 Script
Dean Edwards has updated his scripts. I have written a new entry describing the updated IE7 scripts.
At An Event Apart Boston, Eric Meyer discussed how IE7 is quickly being adopted. Since this is the case, we can treat IE6 as more of a secondary browser now.
We should all start to use the Dean Edwards IE7 script to bring IE6 up to par with standards compliant browsers.
Using the Script
First, download the Dean Edwards script. Next, extract the files to the root of your webserver in a folder called ie7. It needs to be in this folder, because some of the scripts have a dependency on the folder.
Finally, just include the script in the head of your document using conditional comments:
<!--[if lt IE 7]>
On the configuration page, Dean shows you which scripts do what. By including the
ie7-standard-p.js, you get the support of the following scripts:
The only other script that I have included as well is the
ie7-css3-selectors.js to include support for CSS3 selectors. Think of all those wonderful attribute selectors you can start to use in your project. It makes me all warm and tingly inside to think about where CSS can go when the browsers are up to the task.
This really should be one of the first steps you take in a project. By doing this simple task, you will save yourself from a lot of IE6 headaches.