A new home

I’ve made the move to WordPress!

You should be automatically redirected in 5 seconds. Please visit World Wide Code on Wordpress

Hope to see you there!
Showing posts with label IE. Show all posts
Showing posts with label IE. Show all posts

Friday, November 18, 2011

HTML5 on IE8


Many of you must have read that older browsers like IE7 and IE8 do not support HTML5.
Well, there is a workaround for this purpose. Add the following code to your HTML5 website to get it working on theses ”outdated” browsers.(Sorry WinXP users you have to use IE8 :( )
<!--[if lt IE 9]>
<script type="text/javascript" src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<style type="text/css">header,nav,section,article,aside,footer,hgroup { display: block;}</style>
<![endif]-->
Related Links