10 ways to make Internet Explorer act like a modern browser

ike many other web developers, I definitely hate Internet Explorer, especially the version 6. At a time where new and powerful techniques as such as HTML5 and CSS3 are emerging, it’s not surprising that IE can’t handle them correctly. Luckily, a few tricks can make your life easier.

Enable HTML5 on IE

Ever heard about HTML5? If you’re interested in web development, there’s no doubt about it. For those who doesn’t know, HTML5 is the next major revision of HTM; the core markup language of the World Wide Web.
Most modern browser can already handle, at least partially, the new HTML5 recommendations. But as Internet Explorer isn’t well known for its sense of innovation, it will simply ignore the markup.

The html5.js is a very interesting project which aim to make Internet Explorer HTML5 compatible. The only thing you have to do is to embed the html5.js script in your html document header. You can hotlink the script, as shown in the example below:

<!--[if IE]>
// <!--[CDATA[src="]]-->http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>

» Source : http://remysharp.com/2009/01/07/html5-enabling-script/

View Full Article >>