Product DescriptionCascading Style Sheets (CSS) are a powerful way to enrich the presentation of HTML-based web pages, allowing web authors to give their pages a more sophisticated look and more structure. CSS's compact file size helps web pages load quickly, and by allowing changes made in one place to be applied across the entire document, CSS can save hours of tedious changing and updating. But to leverage the full power of CSS, web authors first have to sift through CSS theory to find practical solutions that resolve real-world problems. Web authors can waste hours and earn ulcers trying to find answers to those all-too-common dilemmas that crop up with each project. The CSS Cookbook cuts straight through the theory to provide hundreds of useful examples and CSS code recipes that web authors can use immediately to format their web pages. The time saved by a single one of these recipes will make its cover price money well-spent. But the CSS Cookbook provides more than quick code solutions to pressing problems. The explanation that accompanies each recipe enables readers to customize the formatting for their specific purposes, and shows why the solution works, so you can adapt these techniques to other situations. Recipes range from the basics that every web author needs to code concoctions that will take your web pages to new levels. Reflecting CSS2, the latest specification, and including topics that range from basic web typography and page layout to techniques for formatting lists, forms, and tables, it is easy to see why the CSS Cookbook is regarded as an excellent companion to Cascading Style Sheets: The Definitive Guide and a must-have resource for any web author who has even considered using CSS.
Customer Reviews
Average Rating:
Rating: - How can a 2nd edition still have so many errors?!
In the past I've had confidence in the quality of books published by O'Reilly, but this book was a huge disappointment. There are so many errors--both typos and grammatical errors--coupled with awkward writing, that I find it almost unreadable. Even the diagram for the box model on page 67 is messed up. How is it possible that this sloppiness could get published (again!) in a second edition? There may be some valuable information in the book, but with all the mistakes I don't trust it as a resource. ... Read More
Rating: - A helpful companion book, with a few flaws
In general, this is a helpful book if you need to research a particular design solution, but it should in no way be used exclusively to learn CSS. It's helpful to have CSS and javascript experience to fully take advantage of everything this book offers.
Unfortunately, the book contains some organizational flaws. The "General" chapter, which is meant to serve as an introduction to CSS, is a brief background to concepts and tools, but it doesn't always point out that certain selectors are ... Read More
Rating: - CSS Seconds
The CSS Cookbook is written for those starting out with CSS and advanced users. It is not written as a tutorial in order to learn CSS but anyone with a basic grip on CSS will find the book a valuable companion. The clear explanations of many of the pitfalls we come across when writing CSS are simply stated in an easy to look up format.
Even though you may not want to read the book front to cover I think its a great experience to just pick your chapters by what interests you most and to work through ... Read More
Rating: - Too many "bugs"!
There are just too many "bugs" (typos, coding errors, misplaced figures, etc.) in this book to recommend it. I could forgive the many grammatical errors (though there's really no excuse for them), but when you're supposed to be passing along coding solutions and there are this many errors in the very code you're recommending, it's just unacceptable. I spent way too much time trying to unravel the coding errors to make this book really useful.
I also agree with the reviewer who said he couldn't ... Read More
Rating: - Shouldn't be your prime CSS source.
There is some excellent information here. The sections on forms and the CSS calendar were helpful for me. The nested list to breadcrumb solution is lovely, but this book was written too often for best case (or browser) scenarios, not always the world as it is.
Floats are covered for CSS layout but there is no mention of some common Internet Explorer bugs that make their use tricky, including common bugs like the expanding box and guillotine bugs. Holly Hack anybody? How about the problem with ... Read More