Pro CSS Techniques

Author: 
Jeff Croft, Ian Lloyd, and Dan Rubin
Publisher: 
Apress
Published Date: 
2006
ISBN: 
1-59059-732-X
Pages: 
376
Rating: 
4

If your looking for a more advanced CSS book, this one is definitely worth looking into.

As I have mentioned before in other reviews, I always like it when the author tells me up front who the target audience is. In this case, the first sentence in "What this book is not" states "This book is not an introduction to CSS." I like this type of straightforward notice. It definitely helps keep a novice from getting in over their head or a guru from getting bored.

The authors make it a point to focus on real-world usage and not trendy and experimental techniques. This is nice and what I have come to expect from Apress. Most of us are in this to make a living if we are willing to pay 40 bucks for the book and aren't just a hobbyist.

The authors did a nice job of covering multiple browsers in chapter 4. It seems that in this day and age most authors focus on IE since it still has the market share and not much else. Not only were IE and Firefox covered, but my personal favorite, Opera was also covered, which closely follows the W3C standards. In fact it's the browser I test everything on first. The authors recommended using Firefox. It's nice the Safari was also covered, as that will carry over to the iphone platform as well. Testing with IE of course is always a no-no, since MS standards are always an exception. This leads me in to Chapter 6...

Chapter 6 hit the nail right on the head by covering how to handle other browsers. This seem to be missed by many developers nowadays. They limit their testing to the browser they are using Thus limiting compatibility to only the browsers that were explicitly specified. I have noticed this mostly when development targets IE.
The hacks section is especially interesting, since it covers how to deal with nuances of how browsers handle unsupported or non-standard markups. The real world still has IE6 in it and in order to ensure all visitors have the same enjoyable experience when visiting a site, it is often necessary to implement workarounds to make it so. They provided a lot of examples of issues that IE6 has and viable workarounds. This will be a handy future reference chapter for me.

Chapter 7 CSS Layouts was a very well written section. Handling page width is always a difficult topic. This is a difficult subject not only when it comes to web development, but also in stand-alone application development. They did a very nice job of covering pros and cons of fixed with and elastic layouts. They provide enough detail that once you understand who your target audience is you should have enough info to make an educated decision. For example, a tech website can easily have a width of 1024 or greater since the target demographic will likely have larger monitors and killer video cards, while a banking site may want to stick with a width of 800 for greater compatibility for all users.