Cascading Style Sheets: The Definitive Guide, 2nd Edition by Eric Meyer This errata page lists errors outstanding in the most recent printing. If you have technical questions or error reports, you can send them to booktech@oreilly.com. Please specify the printing date of your copy. This page was updated February 26, 2008. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: backcover text, end of 2nd paragraph "and introduces emerging elements of CSS3" should probably be removed. See preface page xiii, 2nd para. {many} several; These three properties have the value "inherit" backwards -- yes should be no, no should be yes. There are other errors as well. visibility (p. 464), should have "Inherited: yes". Also, "Initial value: inherit" should be "Initial value: visible". This property box is correct on page 308, but not in the appendix. white-space (p. 150 and p.464), should have "Inherited: yes". table-layout (p. 351 and 467), should have "Inherited: no". Confirm at: http://www.w3.org/TR/CSS21/propidx.html [13] Last paragraph; external style sheets can contain HTML comments as well as CSS comments, and the text is unclear about this point. (24) Figure 2-1; Missing the closing semi-colon for the background declaration value. (24) Figure 2-1; In Figure 2-1, the selector is listed as "H1", but in the paragraph underneath it is said that it selects "h1" elements. Since XHTML is case sensitive, they should be the same - "h1" {43} Figure 2-13; The subtree: \ \ ul / \ / \ / \ li li | | ul ol / | \ / | \ li li li li li li should be: \ \ ul / \ / \ / \ li li | ul / | \ li li li | ol / | \ li li li (184) Figure 7-36; Figure 7-36 alleges to represent the markup above it, where the "tall" text has a line-height of 4px. But, together with vertical-align: top, this should cause the "tall" text to stick up above the top of the line box. Instead, this figure seems to apply to the markup below it, where the line-height is 18px, since the "tall" text is pushed down almost to the baseline. Author: Figure 7-36 is incorrect and needs to be replaced. [211] top; figure 8-8; The two paragraphs do not have the dotted 1 pixel border specified by the code on the previous page:
(262) Figure 9-23 ; In the third paragraph, first sentence... "This element should have a single background image in the bototm right corner". bototm should be bottom (280) 3rd paragraph; the furthest right a right-floated element may go is its containg block's inner right edge should read the furthest right a right-floated element may go is its containing block's inner right edge (309) 3rd paragraph, 3rd word; The line at the beginning of the 3rd paragraph (the paragraph below the CSS code) begins "As for visbility: collapse[...]". "Visbility" is misspelled. It should be "visibility".