Cascading Style Sheets: The Definitive Guide, 2nd Edition
by Eric Meyer
The following errata were corrected in the 5/04 reprint:
Here's a key to the markup:
[page-number]: serious technical mistake
{page-number}: minor technical mistake
This paragraph will be gray only if styles from the stylesheet 'sheet-a.css' are applied.
NOW READS:This paragraph will be gray only if styles from the stylesheet 'basic.css' are applied.
andThis paragraph will be gray only if styles from the stylesheet 'sheet-b.css' are applied.
NOW READS:This paragraph will be gray only if styles from the stylesheet 'splash.css' are applied.
(23) top Once of the primary advantages of CSS-particularly to designers-is its ability... NOW READS: One of the primary advantages of CSS-particularly to designers-is its ability... {24} 5th paragraph last sentence; "So, all of the h1 elements in the document (defined by the selector) will be styled in bold purple." NOW READS: "So, all of the h1 elements in the document (defined by the selector) will be styled in red text on a yellow background." {40} 3rd paragraph, NOW READS: "This would boldface the text of the second element in the following markup fragment, but not the first or third:" (64) Fifth text paragraph; "This is what happens in CSS2.1, and it happens because every declaration has a specificity of 1,0,0,0." NOW READS: "This is what happens in CSS2.1, and it happens because every inline declaration has a specificity of 1,0,0,0." {206} Sidebar "Historical Problems", bulleted item 1, sentence 2; "If you defined an element to have a width of 400px, then IE6 would make ...." NOW READS: "If you defined an element to have a width of 400px, IE/Win would make..." [256] CSS Example after the 1st paragraph; body {background-image: url(yinyang.gif); background-repeat: repeat-y;} NOW READS: body {background-image: url(yinyang.gif); background-repeat: repeat-x;} (328) http://www.xs4all.nl/~ppk/js/fixedmenu.html NOW READS: http://www.quirksmode.org {485} 1st paragraph; " ... Appendix C of the CSS2 specification". NOW READS: " ... Appendix D of the CSS2.1 specification."