Advanced Search
Start Your Free Trial

Overview

Other Readers Also Read...
PHP Cookbook, 2nd Edition

PHP Cookbook, 2nd Edition
by Adam Trachtenberg; David Sklar

Cascading 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.

Amazon.com® Reader Reviews (Ranked by Helpfulness)

Average Amazon.com® Rating: 3.5 out of 5 rating Based on 30 Ratings

How can a 2nd edition still have so many errors?! - 2007-08-02
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
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. Look for authors Eric Meyers, Jeffrey Zeldman, and Andy Clarke for better CSS books.

A helpful companion book, with a few flaws - 2007-06-07
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
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 not supported in every browser (child selectors and pseudo-elements are the most notable). I think it'd be helpful to state straight-up that many aspects of CSS are interpreted differently in various browsers, if supported at all, and then note which browsers support each feature as the feature is introduced to the reader. To their credit, they do include a "pitfalls/warnings" icon at the end of some sections, but it'd be helpful to know about them before you continue on to work through one of their examples, only to discover later that it doesn't work in IE6. Since most people would like to design for a cross-browser experience, they might just want to skip over certain CSS features that are not widely supported, so indicating browser support up-front would be very helpful. And I wonder how valuable it is to mention something like "text-shadow" if it is only currently supported by one browser? In addition, some important concepts are buried in the book (such as the fundamental concept of inheritance and the !important rule) - they might be better placed in the "General" chapter (introduction).

Though this book does have its flaws, I have to say that it does assemble some nice formatting tricks. I have previously scoured the Web searching for many of the techniques that are all nicely packaged in one place in the "Images" chapter, so I am sure this would be a real time-saver for many, as the leg-work is already done for you. Among some commonly sought out techniques are rounded corners, dropshadows, and the lightbox effect. The "Lists" and "Navigation" chapters are also pretty useful. The "recipes" this book includes are not only a means to accomplish a particular goal, but the solutions are creatively achieved so that you start thinking about using CSS in less out-of-the-box ways. And kudos to them for mentioning accessibility/usability in the "Typography" chapter - those concepts often fall to the wayside in comparison to glitzier topics.

Too many errors - 2008-09-15
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Unfortunately, this book has too many errors, right from the very first chapter. It's unacceptable to have sample code that does not even match the description of the accompanying text, and output pictures that show something different than what the code actually does (ie: text is supposed to be displayed underlined in bold, and shows normal, when the point of the example is how to do that).

I'm returning it until they get a new corrected edition. It just pointless to spend time figuring out what the author really meant, I'd rather spend that time learning from another source.

Not for Beginners - 2010-01-18
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Let's get right to it: This book is great but it's not - I repeat - it's not for beginners. You better be comfortable with CSS or you'll simply be wasting your money. The author frequently uses something completely new then introduces the item further in the book. Other times no explanation is given. I've to constantly search [...] just to understand what the author is trying to explain. He throws out codes with no idea how to use it. I was forced to return the book.

cook - 2009-03-02
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The book came quickly. It has many code examples of specific styling issues. I just wish it was a huge book, with many more examples!

Some information on this page was provided using data from Amazon.com®. View at Amazon >


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2010 Safari Books Online. All rights reserved.