» » CSS Cookbook

Download CSS Cookbook epub

by Christopher Schmitt,Dan Cederholm

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.

Download CSS Cookbook epub
ISBN: 0596005768
ISBN13: 978-0596005764
Category: Technology
Subcategory: Graphics & Design
Author: Christopher Schmitt,Dan Cederholm
Language: English
Publisher: O'Reilly Media; 1 edition (August 2004)
Pages: 272 pages
ePUB size: 1972 kb
FB2 size: 1961 kb
Rating: 4.1
Votes: 922
Other Formats: azw mobi doc lit

I highly recommend this book. I am not a specialist in web design, but did have a certification in HTML/XHTML before reading it, so I had some background. Major topics are Web Typography, Page Elements, Links and Navigation, Lists, Forms, Tables, Page Layouts, Print-Friendly functions, Hacks/Workarounds and miscellaneous designing issues.

Each chapter is divided into subsections, and they are patterned as follows:

- Statement of the "Problem" (as the book puts it), or what it is that you want to do.

- "Solution": first gives the HTML (if relevant), and then the CSS for modifying the HTML to get what you want.

- "Discussion": explains in plain English what you just saw in the "Solution" section.

- "See also": suggests other resources.

Some of the examples require some knowledge of JavaScript, and in those cases I simply had to note that fact and move on. Most of what is illustrated in the book assumes only knowledge of HTML.
For your money, there's lots better books. Anything by Eric Meyer (in particular the Eric Meyer on CSS books from New Riders) is going to be more helpful. I can't believe O'Reilly would put out such a thin volume and call it a Cookbook! It felt like kind of a waste of my money. I would have liked to see twice as many examples, things like images are barely even covered at all.
After reading the other reviews about this book, I thought that it'd be a handy reference guide to add to my collection. I'm an experienced web developer and already know how style sheets work and how to use them - I just wanted a book where I could quickly look up specific syntax, etc.

This book definitely doesn't work for that - the index is sorely lacking and the information isn't well-organized at all. So, since a lot of the other reviewers wrote that this book isn't for beginners (I agree) and, since I'm an experienced developer and it's not working for me, I'm not sure who would find this book useful. Especially when there are so many other CSS books to choose from.....

Normally O'Reilly books are really good, so I'm a little bit surprised that they published this book without having an editor clean it up and organize it. In any case, I would not recommend this book, period. I'm glad that my employer paid for it and not me. ;-)
Lonesome Orange Kid
I think I'd generally agree with the previous positive reviews. You should already be familiar with CSS, JavaScript and HTML - this is not a CSS starter book. It's more geared toward start to finish answers for common CSS questions, most of which I found I could easily adapt to my level of understanding. There is an in-depth description about how to create a very nice looking calendar with CSS (using HTML tables) which I liked a lot. However, for me personally, I will probably stick with O'Reilly's CSS: The Definitive Guide.

I'm sure it was done for monetary reasons, but it would have been nice if the figures were in color - or at least the figures supporting the elements that deal with color. It was tough to distinguish between shades of grey or follow the arrows with the words "blue" or "green" on one end pointing to an area. I know, I know, picky picky. :) So - while I'm being picky... :) The foreward mentions "...compiling hundreds of CSS recipes into this single book" - but by my count, there are only 89 Problem/Solution/Discussion sections (aka recipes). I would like to have seen "hundreds of CSS recipes", which would have provided greater variety to the solutions.
If you're not familiar with O'Reilly's cookbook series (...), they're books with a basic formula: Problem, Solution, and Discussion sections for every 'recipe.' The link takes you to an image showing how the format looks. Each recipe is a script, program, command, or piece of code for implementing within a large part of a whole.

In CSS Cookbook, get recipes for using CSS to create pull quotes, to add a background image, to build various types of layouts, and to manage forms. It is not about building a Web site from scratch, but getting bite-sized markup for implementing pieces of the site.

This book is for those who know HTML and have a basic understanding of CSS. Like any food cookbook, the recipes are there when you're ready for them. It's not for reading from cover to cover. When you get stuck on a problem or want to know how to create a printer-friendly page, refer to the recipe.

The main issue with the book is its use of tables in some of the recipes. With the growing number of Web sites moving towards Web standards compliance, tables are finally going away as a layout tool. Their only purpose is for organizing data.

Don't expect recipes on fly-out or drop down menus. This is not a bad thing as CSS is not the ideal way to create such menus as there are many problems with implementing them. So it is understandable why they were not included. If you want to learn how to do these menus, there are many resources on the Internet showing how.

The book could use more recipes as others in the Cookbook series have 400, 500, and even 700 pages. This one is just 270 pages.

As in his other books, Schmitt does an excellent job of explaining each problem and solution with his minimal jargon and easy writing style. The table of contents (...) provides the list of the types of problems covered in this book. If these are things you wish to implement, then you'll be happy with the purchase.