Eric Meyer’s “Smashing CSS” is a mix of great tips and disappointment.
Perhaps CSS books’ unfulfillment reflect a fundamental design flaw in CSS. I mean, it’s unnatural to use floats and negative margins, and various positioning tricks to get something we usually just draw in Photoshop.
Who asked for my opinion, anyway? Here’s a rundown of the book:
Nice cover and quality paper.
use % for layouts, ems for fonts
context positioning: putting divs positioned absolutely within divs positioned relatively will save you frustrating hours.
He covers some of the CSS3 properties.
He spends the first ~40 pages talking about developer tools in every browser except Chrome. He does not even mention the existence of the browser I’ve been using for over a year and half. Strange.
Why do all CSS books have to have the ugliest colors with the ugliest examples? Sure, positioning may be the same regardless, but websites these days look a lot nicer.
To expand on the above, Chapter 5 shows a “complexspiral demo” that’s basically two backgrounds on top of one another to solve the lack of transparency before PNGs. He admits to having created it in 2001. That’s 10 years ago!!!
On p. 258 in Chapter 7 he says he will cover css transitions in the next section, but the book ends with chapter 7. ?!
Needless to say, I needed to blog my lukewarm reaction to this book.
Amazon reviews take it a step further here.