O'Reilly logo

Responsive Web Design with HTML5 and CSS3 by Ben Frain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to polyfill non-supporting browsers

All this HTML5 form malarkey is all well and good. There seems however, to be two things that put a serious dent in our ability to use them: disparity between how supporting browsers implement the features and how to deal with browsers that don't support the features at all. Thankfully, as ever, the web community has found a way.

Back in Chapter 4, HTML5 for Responsive Designs I mentioned Modernizr (http://www.modernizr.com), a fantastic JavaScript library that helps insert polyfills for browsers lacking the requisite HTML5/CSS3 features. "Webshims Lib", written by Alexander Farkas (http://afarkas.github.com/webshim/demos/) is built on top of this and the ubiquitous jQuery library to only load the form polyfills ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required