Html5 and IE8

From snippet wiki
Jump to navigation Jump to search

Either you use a browser or you are punished to use the microsoft internet explorer. If you stayed at version 8 you even don't have any html5 support. Such websites look horrible.

The solution:

<head>
<!--[if lt IE 9]>
<script src="js/html5shiv.min.js"></script>
<![endif]-->
</head>

you can download the magic file from https://code.google.com/p/html5shiv/