Paperback: 494 pages
Publisher: Apress; 1st Corrected ed., Corr. 4th printing edition (April 24, 2007)
Product Dimensions: 7 x 1.2 x 9.2 inches
Shipping Weight: 2.3 pounds (View shipping rates and policies)
Average Customer Review: 4.5 out of 5 stars See all reviews (37 customer reviews)
Best Sellers Rank: #821,367 in Books (See Top 100 in Books) #31 in Books > Computers & Technology > Programming > Languages & Tools > XHTML #102 in Books > Computers & Technology > Programming > Languages & Tools > CSS #1044 in Books > Textbooks > Computer Science > Software Design & Engineering
An analogy for comparing this book to other CSS books: if other books are 2-day seminars then this book is a full fledged college course. This book takes a rigorous, organized approach to teaching you how CSS works whereas most CSS books take a "here's what you need to know" approach. It is not difficult, but it does take time to read the entire book and you cannot skip parts of the book or it won't make sense.First, if you only read pages 70-71, then you will have gotten the value of the price of the book. Michael is the first and at this point the only person that I've seen figure out an approach very similar to O-O inheritance (not CSS hierarchical inheritance). His is example uses a button class and 3 sub-classes, whose rules are written button.square, button.rounded and button.go. This is an invaluable technique. Other sites have always said that "you can't do O-O inheritance in CSS", but he has come up with a simple way to do it.The difference between this book and others is that he organizes CSS into a methodology that no one else has. He organizes it into box model type, box model extent and box model placement. These are the authors categories and not explicit CSS categories (though they can be said to be implied by the CSS standard). He then goes about showing you every combination of how these work together, why each is useful and their limitations, including browser limitations. It's very dry reading, but you get a grasp of CSS that you wouldn't get otherwise. For example, I always had difficulty with centering items in CSS, because it would work sometimes and not other times. In other books and on the web, I would find centering "hacks" that usually involved text-align: center, but never really understood why CSS didn't have a way to center items.
Pro CSS and HTML Design Patterns by Michael Bowers is an incredible resource and toolbox for any level web developer. Whether you are just beginning with CSS or are of a professional status, this book has something to offer. With over 300 different design patterns, this book is the perfect resource to solve just about every problem you face. There are patterns for every aspect of your site, and their modular nature give you the potential to combine several of them to create some very unique websites. All of this comes with the added bonus that each of these design patterns have been thoroughly tested in all major browsers. There is great attention to the details throughout each of these patterns.ContentsThis book is not broken down like your typical web development book. The first 3 chapters of this book focus solely on the foundation. The first chapter discusses CSS. This includes addressing many of the common properties and values, different types of selectors, units of measure, and addressing the cascade. Chapter 2 moved on to talk about different HTML design patterns. This section outlines the basic building blocks of any HTML document such as html, doctype, head, body, and many possible elements in between. Chapter 3 moves on to the tricky subject of CSS selectors and inheritance. This becomes important throughout the rest of the book as proper inheritance will play a big role in developing our patterns and keeping our code lean and semantic. None of these three chapters are exhaustive in nature, but they give you a solid base to work with as you read throughout the rest of the book. So, while this book can be used as a resource, if you are just beginning CSS I would recommend not skipping the first three chapters.