BUY THIS BOOK

Safari Books Online

What is this?

Looking to Reprint this content?

CSS Cookbook

By Christopher Schmitt
August 2004
Pages: 270
Series: Cookbooks
ISBN 10: 0-596-00576-8 | ISBN 13: 9780596005764
starstarstarstarstar (Average of 5 Customer Reviews)

This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.

The latest edition is also available on Safari Books Online.

Description

The CSS Cookbook cuts straight through the theory to provide hundreds of useful examples and CSS code recipes you can use immediately to format your web pages. Reflecting CSS2 and including topics that range from basic web typography and page layout to techniques for formatting lists, forms, and tables, the CSS Cookbook is a must-have resource for any web author who has even considered using CSS.
Full Description

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.



Featured customer reviews

Write a Review


Handy book for designers,  May 07 2006
Rating: StarStarStarStarStar
Submitted by Regnard Kreisler Raquedan   [Respond | View]

Tables have long been the layout tool of choice for designing sites since the 90’s. Although it’s semantically incorrect, many web designers have been keeping this practice and doing almost nothing to correct it.

CSS Cookbook from O’Reilly presents developers with quick 180 degree turn to CSS. The good thing about this book is that it shows how CSS can do the typical table-based layouts. For example, the customary 2-column layout is given adequate attention. One very nice chapter demonstrates how CSS can create semanitcally correct code for web form layout.

But the book also explores the workarounds (or “hacks”) in dealing with the quirks you have to deal with (Hint: it involves browsers).

Web developers looking for a quick fix of standards-compliant layout and techniques will really appreciate CSS Cookbook.


Exactly What I Expected,  April 23 2005
Rating: StarStarStarStarStar
Submitted by Brian Zab   [Respond | View]

When shopping for computer books, I usually always favor O'Reilly Press over other companies (which will remain nameless :-)). The things I have grown to respect include the straightforward and intelligent way that information is presented to me. As a bonus, all O'Reilly books I have read are peppered with the right amount of humor to make my reading them more enjoyable.

This book was exactly what I was expecting. I don't *need* to learn CSS because I already have a firm enough understanding. What I need is a quick reference book to consult when I have coders' block and a place to turn when I want to learn something new.

"CSS Cookbook" does that for me. I must also recommend the "JavaScript and DHTML Cookbook". It is an excellent accomplice to this book.

Thanks again, O'Reilly. You've come a long way since even "Lex and Yacc". :-)


Very useful,  February 22 2005
Rating: StarStarStarStarStar
Submitted by vun   [Respond | View]

This book has proven very useful to me. It gave me solutions that I hadn't found exploring the web. The rollover menu with hover function worked very well with IE on Mac & PC. (For IE, change the href code, though, for this particular item.) Well done, mr. Schmitt.

Read all reviews


Centering,  February 13 2005
Rating: StarStarStarStarStar
Submitted by vun   [Respond | View]

Centering (erratum)

On the pages 46 and 47 of CSS Cookbook "margin-left" should read -128px instead of -138px since 256/2=128.


One of the best book about CSS .,  August 24 2004
Rating: StarStarStarStarStar
Submitted by Murrad Tofa   [Respond | View]

I have found this book very helpful.
Before reading this book I have little bit
idea about CSS and I was really searching for
a good book on CSS . Most of the book I have
are doing cut& paste from 'WDG'website .

One of the plus point about this book is
that the author is informative& straight to the
topic .When I saw other website or think
about a design for my website I thought Oh! how
I can do that with CSS? This book give most of the answers I needed . The topics are divided into "Problem","Solution"&"Discussion" and I think this style is very helpful to read and to get clear idea about the topic . It is a really CSS cookbook . Cook CSS with this book ;)


Media reviews "About the CSS essentials, this book has it all...The book never sent me scrambling for Wikipedia; the writing was clear, and the recipes worked the first time out of the box...The practical approach, combined with a dash -- but just the right amount -- of theory, makes CSS Cookbook an exceptionally useful reference for learning and doing CSS."
--Michael Pastore, Bookloversreview.com, March 2005

"CSS programmers will welcome Christopher Schmitt's CSS Cookbook, covering CSS2.1 and providing a fine introduction to real-world programs and solutions in cascading style sheets, from quick code fixes to page elements and fixing navigation issues."
--Bookwatch, February 2005

"Especially useful for the less-seasoned designer who isn't tremendously familiar with CSS, and equally helpful for the web designer who just wants to add a few tricks to his or her "repertoire," this hearty volume provides a wide variety of plugin-ready tricks and tools that just about anyone...will find invaluable."
--Ryan Eanes, Blogcritics.org, December 2004


Read all reviews

See larger cover