CSS Pocket Reference

Errata for CSS Pocket Reference

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date Submitted Date Corrected
PDF, Other Digital Version
Page ix
1st paragraph

Link to http://my.safaribooksonline.com broken, simply says "true". Also safaribooksonline.com goes nowhere.

Note from the Author or Editor:
Please check this, since I don’t have a PDF to confirm or deny.

Roy Close  Feb 20, 2014  Jun 10, 2016
Page 5
Rule Structure, also Chapter 3 (Selectors)

I cannot find anywhere in the book a mention of the fact that you can group selectors in a comma-separated list, e.g. td, th { declarations } This should be mentioned on page 5, and described in chapter 3 which deals with selector syntax in detail. Index entries should also be added e.g. 'selector groups' or 'selector grouping' Apologies for accidentally registering this erratum against edition 3, BTW!

Note from the Author or Editor:
Insert this as the second sentence of the paragraph right after Figure 1-1: Selectors can stand singly or be grouped as a comma-separated list; e.g., to select the top three heading levels at once, the selector group would be `h1, h2, h3`. ...where the backticks (`) enclose monospace text.

Alan Rew  May 12, 2012  Jun 10, 2016
Page 33
1st full paragraph

Under the paragraph showing rgba & hsla color value formats, the example given for the rgba values appears to be incorrect. Using the values given, the result would be "half-opaque blue" NOT "half-opaque red" and written. The example shown for hsla does result in "half-opaque red".

Note from the Author or Editor:
Change `rgba(0,0,255,0.5)` to `rgba(255,0,0,0.5)`. Change `rgba(0,0,100%,0)` to `rgba(100%,0%,0%,0)`.

Anonymous  Mar 24, 2012  Jun 10, 2016
Page 187

The Spread Distance doesn't seem to be an option for the text-shadow property

Note from the Author or Editor:
This is correct, but I would rather submit the correction directly rather than in this textbox. I’ll coordinate with my editor.

Anonymous  Nov 11, 2011  Jun 10, 2016
Page 201
'Examples' section at bottom of page

Under the entry on the 'word-spacing' property, the examples given refer to 'letter-spacing' instead - a related but distinct property of its own.

Jason Devine  Jun 28, 2015  Jun 10, 2016