Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$4.20 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
CSS Cookbook, 2nd Edition
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

CSS Cookbook, 2nd Edition [Paperback]

Christopher Schmitt (Author)
3.2 out of 5 stars  See all reviews (13 customer reviews)

Price: $44.99 & this item ships for FREE with Super Saver Shipping. Details
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 1 left in stock--order soon.
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback $44.99  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.
There is a newer edition of this item:
CSS Cookbook, 3rd Edition (Animal Guide) CSS Cookbook, 3rd Edition (Animal Guide) 3.9 out of 5 stars (10)
$30.39
In Stock.

Book Description

0596527411 978-0596527419 October 24, 2006 Second Edition

As the industry standard method for enriching the presentation of HTML-based web pages, Cascading Style Sheets (CSS) allow you to give web pages more structure and a more sophisticated look. But first, you have to get past CSS theory and resolve real-world problems.

For those all-too-common dilemmas that crop up with each project, CSS Cookbook provides hundreds of practical examples with CSS code recipes that you can use immediately to format your web pages. Arranged in a quick-lookup format for easy reference, the second edition has been updated to explain the unique behavior of the latest browsers: Microsoft's IE 7 and Mozilla's Firefox 1.5. Also, the book has been expanded to cover the interaction of CSS and images and now includes more recipes for beginning CSS users. The explanation that accompanies each recipe enables you to customize the formatting for your specific needs. With topics that range from basic web typography and page layout to techniques for formatting lists, forms, and tables, this book is a must-have companion, regardless of your experience with Cascading Style Sheets.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

CSS Cookbook, 2nd Edition + HTML & XHTML: The Definitive Guide (6th Edition) + CSS: The Definitive Guide
Price For All Three: $103.86

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • HTML & XHTML: The Definitive Guide (6th Edition) $31.49

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • CSS: The Definitive Guide $27.38

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

Christopher Schmitt has been working on the Web since 1993. He is the principal of Heatvision.com, Inc., a new media design firm, and resides in Orlando, Florida. Christopher speaks frequently about web design at conferences including South by Southwest Interactive and Web Design World. His books include "Designing CSS Web Pages" (New Riders), "Professional CSS: Cascading Style Sheets for Web Design" (Wrox), and "CSS Cookbook" (O'Reilly).


Product Details

  • Paperback: 544 pages
  • Publisher: O'Reilly Media; Second Edition edition (October 24, 2006)
  • Language: English
  • ISBN-10: 0596527411
  • ISBN-13: 978-0596527419
  • Product Dimensions: 9.2 x 7 x 1.2 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (13 customer reviews)
  • Amazon Best Sellers Rank: #286,051 in Books (See Top 100 in Books)

More About the Author

The founder of Heat Vision, a small new media publishing and design firm, Christopher Schmitt is an award-winning Web designer who has been working with the Web since 1993.

As a sought-after speaker and trainer, Christopher regularly demonstrates the use and benefits of practical standards-based designs.

He is Co-Lead of the Adobe Task Force for the Web Standards Project (WaSP) in addition to being a contributing member of its Education Task Force.

Author of numerous Web design and digital imaging books, including Adapting to Web Standards: CSS and Ajax for Big Sites and CSS Cookbook, Christopher has also written for New Architect Magazine, A List Apart, Digital Web, and Web Reference.


 

Customer Reviews

13 Reviews
5 star:
 (1)
4 star:
 (6)
3 star:
 (1)
2 star:
 (4)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.2 out of 5 stars (13 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

7 of 7 people found the following review helpful:
4.0 out of 5 stars CSS Seconds, March 19, 2007
By 
Frank Klaver (Santa Monica, CA USA) - See all my reviews
(REAL NAME)   
This review is from: CSS Cookbook, 2nd Edition (Paperback)
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 a complete chapter following along and rewriting the code as indicated in order to get a good feel of what problems are solved so that if along the way you run in to a problem you find it back without mach ado. You might learn things you never knew where that simple ore useful. For those who are transitioning from table based layouts to CSS it might not be to book to get familiar with CSS because it is a technical book, a little to dry for just getting into using CSS. Once you have gone through the initial learning curve using books like Head First: HTML and CSS from O'Reilly or Eric Meyers on CSS from New Riders you will be ready to use the book as it is intended: A constant companion within reach whenever the going gets tough,
Chapter 9 on page layout for example clearly explains what took me a long time to understand when starting out trying to use floats for layout. A common problem like columns floated to the left being shorter then the second column located on the right and the resulting overflow of this right column below the left -floated column, I almost forgot that that took me hours to solve when starting out with CSS. In "CSS Cookbook" these behaviors/problems are explained almost in order of appearance as we are working to accomplice more complicated layouts using relative or absolute positioning. There are many resources out on the web but wadding through them is time consuming and being able to find your solutions in a one or two page example including code and images are a big time saver. After each problem there is almost always a "See Also" referral to either another recipe in the book or a link to a more detailed explanation online directing you not only to reliable CSS resources but also to the direct location of the particular problem at hand within these CSS online community resources.
In the same chapter on layout Christopher Schmitt takes us trough as step-by-step tutorial on Alex Robinson's influential article on creating the "any order Columns" published at postitioniseverything.com. A great exercise in understanding floats and how to be creative with code.
In chapter 4 on page elements you will find a great example on some creative ways to add java in your pages and I really appreciate the precise instructions here since that is still kind of new to me. The results are truly beautiful, and would inspire any visual designer and can even be applied to background images placed from a style sheet as you can see applied at [...] a small testing / playground of mine.

A whole chapter is dedicated to forms, another to print.
You will find a clear explanation of how to run multiple versions of i.e. and how to install them. I always new where to find them, just could not get them to work until now! I wish the same simple explanation were given on how to implement Shaun Inmans "clearing a float" in a absolute positioned design since it still is not working for me. (patience, patience...)

The books focus is on solving CSS problems so don't expect all files/example that accompany the book to be validating. I find that a bit of a draw back since the document type used is XHTML Strict in most example files. I think the book as well as the accompanying files may need someone to go through them one more time with a fine comb to correct some of the minor coding errors.
It's really not to be picking but the book is meant for those familiar with code looking to switch over to CSS and for those more advanced. Using a XTML strict Doc declaration in most documents, would it not be neater if the document where written and validated as such? Text without a paragraph surrounding it or a <ul> inside a paragraph, missing closing tacks, make it hard for those who are starting out to find confidence when the CSS is somehow not working. Is it I, is it the book? Honestly, when I get stuck I like to know it's something I did wrong and not the book I am learning from. I did however not find any CSS errors in any of the samples I worked trough!

I never read the first edition of the CSS Cookbook but with the release of IE 7 the book has been updated.
In chapter 3 on images it is stated that at press time IE 5x and 6 do not support a fixed background image in a header to receive a particular effect. I tested in IE 7 and its now is now behaving as it should, so the book I think was released before IE `s 7 official release. Would it have been wiser to wait for this? I think there would have been a more structured outline then of what is still missing and a clearer picture of what to expect in the future working with multiple browsers and demands.

In a ocean of resources in print and online, in the midst of so many tutorials and inspirational articles written on CSS we need a book that works like a Swiss Army Knife to help us solve the problems and issues we come across when we are working on a project and don't have the time to wade trough some of the indeed fascinating and very valuable recourses we can find online. We need a direct solution...We need to know that when we do get stuck or want to push the boundaries that there is a resource that is not lost in a endless list of valuable bookmarks, however well organized, one we can access immediately. Therefore it can be a valuable reason to work through the chapters of interest so that when time is of the essence we know where to go.
Especially when working on commercial project and when we are not at liberty to suggest that, well maybe IE users will not get the full experience of some more advanced and also very popular browsers, but...

In short it is imported to know what works or not and
to have some workarounds or at least to hide from those browsers who don't support what you are doing.
Me personally, I am passionate in my belief and the reasoning behind it, to not letting a product of lesser quality hold down a development....
And especially because of this is it so important to have the tools at hand to know when to support or bypass older browsers to know what works and what not etc.

I almost want to keep the book a secret just because of the fantastic light box example in chapter 4.6. What a beauty. The book really makes you want to explore and experiment with some more java code added in to your designs. A true gem released a bit to hasty. I don't want a refund and you cannot borrow my copy!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 14 people found the following review helpful:
1.0 out of 5 stars How can a 2nd edition still have so many errors?!, August 2, 2007
By 
This review is from: CSS Cookbook, 2nd Edition (Paperback)
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 11 people found the following review helpful:
3.0 out of 5 stars Shouldn't be your prime CSS source., February 7, 2007
By 
This review is from: CSS Cookbook, 2nd Edition (Paperback)
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 setting percent font sizes in the body selector without defining them first in html. Granted IE 7 fixes most of the shortcomings of older versions of the browser but to pretend they don't exist for a measurable percentage of the browsing population is negligent.

Where CSS works as it should, the solutions are fine. Where it doesn't there is too little discussion of the real everyday lack of support in various browsers. If discrete "solutions" are given, the problems associated with each "solution" should be mentioned in the "solution:, not left to a later section that is not cross-referenced. There is a token section at the end of the book on hack support but it is superficial. Even where browser support is mention, it is usually at the end of the solution, where we see it, if at all, after wasting time working through the code. A simple, "This works in xyz browsers at the beginning of each "solution" would have been a great improvement. As they are, some "solutions" only solve problems in a minority percentage of browsers.

There are simply too many good and complete CSS books like Meyer's CSS: The Definitive Guide and CSS Mastery: Advanced Web Standards Solutions by Andy Budd, Simon Collison, and Cameron Moll that give us better real world coverage of CSS usage. For beginners there is Stylin' with CSS: A Designer's Guide by Charles Wyke-Smith. For the experienced there is the stunning new Transcending CSS by Andy Clarke and Molly Holzschlag. I ordered CSS Cookbook in a moment of book craving and am not thrilled by it.

I'm torn on sending it back. It is far from the best general reference, but does have some good content. If I wasn't experienced enough to recognize where it offers less than complete information, it could cause me head scratching with the layout solutions.

Where was Dan Cederholm for this revision?
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
liquid columns, page elements, personal site, login name, tag properties, mountaintop technique, manage styles, css cookbook, hiccup estrogen, nibh eget ipsum, volutpat condimentum, sodium glutimate, cursus venenatis, cuismod ullamcorper, sam familie, orci magna rhoncus neque, blandit sod, pharetra posuere saplen, cuismod ullamcorpcr, posucre sapicn, ullamcorper nec, non turpls, differe solmen, magna cnim, pede metus
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Internet Explorer, Netscape Navigator, Times New Roman, Solution First, Sample Design, Solution Use, The Smart Choice, Using Floats, Rounding Corners, Display Columns, Any Order, Done Figure, Apply Styles, Same Person, Regular City Commission, Using Different Selectors, Whatever Happened, Nifty Corners Cube, Loren Ipsun, The Catcher, Microsoft Expression Web Designer, Two-Column Layout, Moby Dick, Christina Michelle Huggins, Mozilla Home
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(16)
(4)
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject