Anyone using Modernizr?
I am looking for tips on using this library with Sitefinity. I tried to
add the it to my master page with a normal script tag, but it does not
seem to be working.
I wanted to use it for the shim support on html 5 tags with IE. I also just want to start learning some of it's other features.
Here is what my masterpage looks like
I've modified your code a little, try this one out.
Note the difference on the script tag, that was the main issue that was causing problems. Also, I changed the CSS a little bit as HTML5 headers are block level elements by default. You shouldn't need to explicitly set them to "display: block;".
Hope this helps!
Thanks for the advice. That seems to work. Why would adding the script type affect it from working?
"display:block" is being set because it is not the default behavior in IE 7 or IE 8.