Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


One of the toughest challenges novice CSS developers face is when seemingly perfect code doesn’t translate into a perfectly rendered browser page—and with all the different browsers available today, this happens all too often. The CSS Detective Guide aims to help, by teaching real world troubleshooting skills. You’ll learn how to track clues, analyze the evidence, and get to the truth behind CSS mysteries. These aren’t pat solutions, but rather strategies for thinking about CSS. Author Denise Jacobs begins by going over the basics of CSS with a special emphasis on common causes of problems. Then she shows you methods for giving your code the third degree. Then you’ll take a look at the line-up of usual suspects, the common problems and persistent bugs that are often encountered in CSS.

Finally, you’ll have the chance to play detective and find the guilty culprit in:

  • The Case of the Devilish Details

  • The Case of the Mistaken Identity

  • The Case of the Single White Space

  • The Case of the Float with a Mind of Its Own

  • The Case of the Browser Who Hated Me

  • The Case of the LOL Layout

At the end, you’ll find that you can crack any case and solve any future mystery that you encounter, and your coding problems will become elementary.

Subscriber Reviews

Average Rating: 3.5 out of 5 rating Based on 2 Ratings

"Solid" - by BluChunx on 30-DEC-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
As someone who mostly "survives" CSS, I'll leave technical reviews to others. I just want to say that the author was really conscientious about taking the reader through the basics (and beyond) very systematically, and in a way that you could scan through topics that weren't news to you. I found plenty of items that I either needed to refresh in my mind or that I wasn't clued into in the first place. I really like his approach of looking at how you can go wrong. It made the topics much more meaningful to me as a person who often needs to figure out what he did wrong with CSS, especially now that I'm mangling, I mean, enhancing, my Drupal site's CSS. I'm going to review the entire CSS structure with this book at my side.
Report as Inappropriate

"Sort of helpful, but flawed" - by Danielle on 28-SEP-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is on the road to obsolescence, given such focus on supporting earlier versions of IE.

Doesn't really touch on CSS3 at all, unfortunately, because the author seems to be one of those "pixel perfect across all browsers" type developers instead of the "adapt with standards and just make sure it works in earlier versions" developers.

That being said, I can't believe this book only has one minor mention of Firebug. If you are a web developer and have CSS issues that also present themselves in Firefox, there is no need to waste your time running through all of the "Detective" work in Chapter 3 when you could learn how to use a simple and effective tool. It will literally change the way you develop CSS and save your hours of time figuring out some of these issues.

Report as Inappropriate

Table of Contents