Corrections to Chapter 12 of The XML Bible, Cascading Style Sheets Level 1

pp. 333-334: Delete the section on the STYLE attribute. That's only supposed to apply to HTML, not to XML. For some funny reason IE does recognize it in XML documents, but Opera, Mozilla, and Netscape don't.

p. 336: In the section "The !important declaration", the example rule is missing a semicolon.

TITLE { color: blue !important font-family: serif}

should be

TITLE { color: blue !important; font-family: serif}

p. 337: At the bottom of the page, the double hyphens in <-- --> appear to have been replaced by em dashes.

p. 343: In the second row and third column of Table 12-3 (Pure Blue), the percentage values should be rgb(0%, 0%, 100%) instead of rgb(0%, 0%, 0%)

Also on p. 343, in the last row, Orange, of Table 12-3, the decimal values should be rgb(255, 204, 0) instead of rgb(255, 204, 204) and the percentage values should be rgb(100%, 80%, 0%) instead of rgb(100%, 80%, 80%)

p. 349: The layout of the two bullet items at the bottom of the page does not properly show the effect of the list-style-position property. It should look like this:

This is inside:

• If music be the food of love, play on/Given excess of it, that, surfeiting,/The appetite may sicken, and so die./That strain again! it had a dying fall:

This is outside:

p. 350: The fourth verse of the poem is duplicated. That is,

<VERSE>    No workman's tool hath touched the same.</VERSE>

should only appear once, not twice. The same problem occurs in the screen shot on p. 351. This doesn't affect the correctness of the XML or CSS, just screws up the meter of the poem.


[ Cafe con Leche | Order from amazon.com | The XML Bible Home Page | Table of Contents | Updated Chapters | Examples | Errata from other Chapters ]

Copyright 1999, 2000, 2002, 2003 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified January 4, 2003