Errata
Despite everyone's best efforts to catch them, errors occasionally find their way to the final version of a book. If you find an error, please send it to errata@peachpit.com. I will happily credit you here, too, if you'd like; please indicate in your email if you'd like your name listed. Thank you!
Chapter 11—"Styling HTML5 Elements in Older Browsers"
Page 273, Figure E
The name of the JavaScript file is incorrect. It should be html5shiv.js
instead of html5-shiv.js
. (In other words, the hyphen should not be in the filename.) By correcting it to html5shiv.js
, the filename matches how it appears in Figure D on the same page.
I have also fixed this in all relevant code examples available on this site.
Added: