CSS Pocket Reference, 2nd Edition
By Eric Meyer
2nd Edition July 2004
Series: Pocket References
ISBN: 0-596-00777-9
134 pages, $9.95 US, $14.95 CA, £6.95 UK
A very good book. :) :) :) :) of 5
This is a well laid-out, concise reference for CSS. I use it a lot to quickly look up things I don't recall. If you are using CSS successfully and would like a quick reference to properties and such, this small book should fit the bill.
This book is not a tutorial and it's not a good choice for learning the basics of CSS.
Ideally you should have a more complete guide available for when you want more detail.
Want more? See my Somewhat Longer Review.
George Woolley of Oakland.pm and Camelot.pm
Summary of Key Concepts
Reference Lists
If you are considering getting this pocket reference, likely you already have a more extensive CSS guide. If not, the two guides I've looked at and reviewed are:
Both are very good books. Personally, I found the Sitepoint book easier to read and the O'Reilly book more complete. See my reviews for more detail.
The O'Reilly "Definitive Guide" is by the same author as this "Pocket Reference".
As of 2005-04-17, I didn't see this book on Safari Tech Books Online. (There were a number of other O'Reilly Pocket References there, but they were all published in 2003 or earlier. Perhaps, O'Reilly no longer puts Pocket References on Safari.)
The answers you want are likely on the web. They may not be in reference form, however. And if you really want something on paper, of course, that they are not.
If you are just looking for a property reference, there are choices. For example, see CSS Property Reference on Multimedia Australia.
I completed a draft of a review of this "Pocket Reference" in late February. However, upon reflection, I concluded that
I didn't return to working on this review until I'd worked all the way through the "Definitive Guide", written a complete draft review of it and made it available on the web.
CSS: CSS is an abbreviation for cascading style sheets. Cascading Style Sheets:
Pocket Reference: O'Reilly Pocket References are
Other Things on the Cover: On my cover it also says
The words "Visual Presentation for the Web" indicate that the focus is on those aspects of CSS that have to do with the visual layout and styling of web pages.
The words "2nd Edition" indicate there was an earlier edition. One might reasonably expect that there have been enough improvements to warrant a second edition.
CSS 2 and CSS 2.1 are versions of World Wide Web Consortium (W3C) recommendations. The words "Covers CSS2 & CSS2.1" indicate that these specifications are covered. I understand most "modern" browsers do a good job of implementing CSS 2.1.
Can you judge this book by its cover?: Well, this book certainly is a Pocket Reference in the O'Reilly sense, and it's focused on the features of CSS designed for controlling the layout and styling of web pages. And, yes it does include the relevant features from CSS 2 and CSS 2.1.
There was a first edition in 2001, but I've not used it; so I won't comment on the advances in the second edition.
Webmaster: I'm webmaster of a number of small non-profit sites. I'm not a professional webmaster.
CSS: I've been using CSS for a number of years. I use CSS simply but extensively. It really makes my life easier.
I've reviewed three other CSS books
Of these, the only one I currently own is "Cascading Style Sheets: The Definitive Guide" (2nd Edition).
O'Reilly: I'm a big fan of O'Reilly. I own a number of O'Reilly books and they've served me well. I've reviewed many O'Reilly books.
The main parts of the book are
The focus in all of this is CSS 2.1.
Summary of Key Concepts: Some of the key concepts covered are
Selector Reference: The entry for a selector includes
Pseudo Class and Pseudo Element Reference: The entry for a pseudo class or pseudo element includes
Property Reference: The entry for a property includes
There are also short separate references for properties that are specifically related to tables and paged media.
What Else?: The book also includes
This book is accurately advertised as a condensation of "Cascading Style Sheets: The Definitive Guide".
Key Concepts: I've found the summary of key concepts in the "Pocket Reference" to be useful in a couple of ways
Sometimes when I read about a concept in the "Pocket Reference", that is not sufficient and I go to the "Definitive Guide" for more detail. Other times, my memory is jogged and that's enough. Occasionally, the shorter explanations in the "Pocket Reference" are especially illuminating for me because I can more easily see a bigger picture (when there's less detail).
The "Definitive Guide", not surprisingly, goes into much more detail on concepts than the "Pocket Reference" does. The two books complement each other; and I like having both books.
Property Reference: If you have questions about a specific property, you may be surprised to discover that the Property Reference in the "Pocket Reference" contains more details than the one in the "Definitive Guide". To be more specific
I prefer using the Property Reference in the "Pocket Reference" because of the above and also because I just find the smaller format easier to deal with.
References: This "Pocket Reference" has a small number of explicit references to the "Definitive Guide".
So far when I've wanted more detail when using this "Pocket Reference", I've always been able to find it in the "Definitive Guide". This is not surprising since this "Pocket Reference" is a condensation of the "Definitive Guide" and has the same author and publisher.
top
I especially like
I find the book
I have three gripes, which follow.
Selectors: The first paragraph of the book says the section on Selectors is in alphabetic order. It's not in alphabetic order by entry heading, which is what I was expecting.
Perhaps the entries are in order by something else. It doesn't matter much as there are only 11 entries for selectors.
Dropped from CSS 2.1: Based on heading sizes and on the table of contents, it would appear that this section has no subsections. However, the content implies otherwise.
This is confusing, and I'd like to see this confusion removed from both the table of contents and the text.
No Excellent Companion: This book is most useful in combination with a guide to CSS that is much more complete. To some extent its worth is limited by the best such companion guide for it.
As far as I can tell the best such companion guide is the O'Reilly "Definitive Guide" I've referred to several times. But in my review of that guide I rated it as very good (i.e. more than just good but less than excellent).
Who it's ideal for: This book would be ideal for someone who
Who it would be good for: In my view, the heart of this book is the references. You don't have to have mastered CSS concepts to benefit from these.
If you are successfully using CSS, you'll likely be able to find your way.
Who it's not for: The book is not for CSS beginners, not even tech savvy ones. And it's certainly not a tutorial.
If you are determined to not spend any $ and can't otherwise acquire this book, then (sigh) this book is not for you. But there are property references on the web, so all is not lost.
Using the book for review: One of the ways I've been using this book is to review what I know of CSS concepts. Typically when I read a passage:
So if you want to use this book for assessing and reviewing your knowledge of CSS concepts, I recommend it for that use as well as for use as a quick reference.
If you already have a more complete CSS guide and you grasp the basic ideas of CSS, this book could make your life easier.
It's a short, concise, small, cheap well laid-out reference that you can carry around with you.
It has worked very well for me as a quick reference.