The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other What’s better?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #27675

    I just want to ask the experts there.. What’s better? html5shiv (by Google) or Modernizr (by Faruk Ateş and Paul Irish)?

    Rob MacKay

    Google code just host html5shiv – but I do not know which one is best… probably both work well… I would go with html5shiv, coz shiving IE with HTML5 sounds much more fun than it should :D

    Chris Coyier

    html5shiv isn’t by Google, it’s just hosted on Google Code. All that particular bit of code does is ensure that you can style elements like a <section> and have Internet Explorer respect that styling. Modernizr does that too, but it does a whole lot more. Modernizr tells you, by applying classes to the html element and a JavaScript API, if the browser you are in supports certain features. That way you can write CSS implementing those features only for the browsers that support them, and write fallbacks for browsers that don’t.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.