I can't get the html 5 elements working in IE 7 using modernizr here is the fiddle: fiddle
Dont know what I am doing wrong works in IE 8
I can't get the html 5 elements working in IE 7 using modernizr here is the fiddle: fiddle
Dont know what I am doing wrong works in IE 8
Since HTML5 is getting more attention by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as , is to use the HTML5 shiv, I’ve quickly put together a mini script that enables all the new elements.
Download html5shiv.js(https://github.com/aFarkas/html5shiv/) and must be inserted in the head element (this is because IE needs to know about the element before it comes to render them – so it can’t sit in the footer of the page, i.e. below the elements in question).
EDIT 1
With IE, even with the shiv, you need to declare the HTML 5 elements as block elements. I use this line for Internet Explorer, but you can modify it for the elements you need.
header,nav,article,footer,section,aside,figure,figcaption{display:block}
From the Modernizr Documentation: "you’ll also probably want to set many of these elements to display:block;"