Product Details
Cascading Style Sheets: The Definitive Guide, 2nd Edition

Cascading Style Sheets: The Definitive Guide, 2nd Edition
By Eric A. Meyer

Price:

This item is not available for purchase from this store.
Click here to go to Amazon to see other purchasing options.


36 new or used available from $2.74

Average customer review:

Product Description

Simply put, Cascading Style Sheets (CSS) is a way to separate a document's structure from its presentation. The benefits of this can be quite profound: CSS allows a much richer document appearance than HTML; CSS saves time--you can create or change the appearance of an entire document in just one place; and its compact file size makes web pages load quickly. Eric Meyer, a member of the CSS&FP Working Group and an internationally known expert on HTML and CSS, tackles the subject with passion and delivers a comprehensive and thorough update to his groundbreaking book.

All readers will benefit from both the depth and breadth of his experience and his clear and honest style. Cascading Style Sheets: The Definitive Guide, 2nd Edition is a thorough review of all aspects of CSS2.1 and a comprehensive guide to CSS implementation. The book includes new content on positioning, lists and generated content, table layout, user interface, paged media, and more. It explores in detail each individual CSS property and how it interacts with other properties, and shows how to avoid common mistakes in interpretation.

If you're ready to take the next step with your HTML coding and incorporate CSS or are already a CSS code warrior, you'll find Cascading Style Sheets: The Definitive Guide, 2nd Edition is the book you've been craving.


Product Details

  • Amazon Sales Rank: #454388 in Books
  • Published on: 2004-01-01
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 528 pages

Editorial Reviews

Amazon.com Review
Cascading Style Sheets can put a great deal of control and flexibility into the hands of a Web designer--in theory. In reality, however, varying browser support for CSS1 and lack of CSS2 implementation makes CSS a very tricky topic. Cascading Style Sheets: The Definitive Guide is a comprehensive text that shows how to take advantage of the benefits of CSS while keeping compatibility issues in mind.

The book is very upfront about the spotty early browser support for CSS1 and the sluggish adoption of CSS2. However, enthusiasm for the technology spills out of the pages, making a strong case for even the most skeptical reader to give CSS a whirl and count on its future. The text covers CSS1 in impressive depth--not only the syntactical conventions but also more general concepts such as specificity and inheritance. Frequent warnings and tips alert the reader to browser-compatibility pitfalls.

Entire chapters are devoted to topics like units and values, visual formatting and positioning, and the usual text, fonts, and colors. This attention to both detail and architecture helps readers build a well-rounded knowledge of CSS and equips readers for a future of real-world debugging. Cascading Style Sheets honestly explains the reasons for avoiding an in-depth discussion of the still immature CSS2, but covers the general changes over CSS1 in a brief chapter near the end of the book.

When successfully implemented, Cascading Style Sheets result in much more elegant HTML that separates form from function. This fine guide delivers on its promise as an indispensable tool for CSS coders. --Stephen W. Plain

Topics covered:

  • HTML with CSS
  • Selectors and structure
  • Units
  • Text manipulation
  • Colors and backgrounds
  • Boxes and borders
  • Visual formatting principles
  • Positioning
  • CSS2 preview
  • CSS case studies

From Library Journal
Although O'Reilly books are not the best place to learn how to use a technology, they are excellent for polishing its finer points. Ethernet and Internet protocols are difficult by nature, but cascading style sheets and MP3s are much more accessible to beginners. All of these books are recommended for university and large public libraries; Cascading Style Sheets and MP3 will also serve well smaller public libraries.
Copyright 2000 Reed Business Information, Inc.

Review
"Buy it. Now, before you write another bit of HTML. Enough said?" - Andrew Macpherson, news@UK


Customer Reviews

Misled Purchase from On-line comments2
There were lots of great comments on this book on how wonderful it was. Based on those comments, I purchased the book at a local bookstore.

Using Dreamweaver as my design tool, I thought there might be a book where I can learn more about CSS. I already own a couple of good books, but they are light on CSS, and nothing is indexed. I was hoping this book was a 'reference' on every CSS property for CSS1 & CSS2 with a variety of examples. That is exactly what Eric Meyer's book fails to deliver.

For new authors, this book will get you started into the wondeful world of using style sheets - Eric delivers his examples with clear dictation in an editorial style. It's an excellent starting point with good examples and solid explainations on how CSS works.

If you are like me however, an experienced webguy, pass on this book. It does not have a complete list of EVERY CSS property, nor are the examples given robust. The book is written in editorial format, flowing from one topic to the next without really getting into the meat of CSS. It's as if Eric wanted to say something on everything, but in doing so, he limited is ability to offer in-depth explainations of each property and it's power/flexibility.

To sum up, yes, this book is a good tutorial, but NOT a definitive guide. Maybe Eric should of called it the CSS: Definitive Starting Guide To Get You Going. Next time, I'll actually take time to skim through the book at my local computer book store.

N.B. Are all these praises for this book from the author, publisher, or friends of the author to help sell the book? I have my suspicions because a lot of the comments sound 'canned'. Hopefully my review gets published to prove this is not the case.

EVR.

Nice try, but not a well-written book2
This book's problem... the publishing house didn't assign an industry expert as content editor but published it 'as received from author' (though maybe they DID spellcheck it). I say that based on the fact that over the past 35 years, I've earned a tidy little sideline sum as a content editor for various publishing houses. (I am also an sgml expert and have built about 6000 webpages in the past decade, most by hand, some using Cold Fusion, so I am also an HTML/CSS/JavaScript/XML, etc. 'expert'.)
This book has too much author me me me me-ing (kinda like my review, heh heh) and not enough clear, concise explanations as to how CSS works and what problems might be encountered in which browsers if you use css to replace tables for page layout.

I recommend a css beginner go to w3schools site. They have a beginner's css course that is quite good, for the basics. Plus they allow you to try out the css in a browser. It's not a full-on course, but it IS a good beginning and it's free. You should know HTML before you take the css course. Also, you can go to lissaexplains for tidbits of css info such as how 'div' works, etc. Then just start building a site for the practice. If you can't think of a website idea (if you are a beginner, that can be a difficult thing... the design of a website), and you have access to 2002 or newer Microsoft applications, just use one of the office programs (Word or Publisher) to generate a couple of basic webpages, then view the template in a browser, and printout the pages. Don't look at the 'view source' of the generated Microsoft webpage as all that baloney microsoft code will freak you out. Then try to duplicate the webpage layout by writing your own html/css code... after you have learned css at w3schools, etc. You will discover you'll need at least TWO stylesheets for your webpages as css works differently in various browser. Don't worry about it, w3schools will explain the basics. Generally speaking, you'll need one stylesheet for Firefox/Mozilla, the other for MSIE and Opera. But don't waste your money on this book. It's not a beginner's book though it purports to be, and the author, well, he really needs to teach a couple of nightschool courses on css, using his book as the courseware. The questions that the night school (aka 'highly motivated') students will ask over and over and over will quickly enlighten him as to what's wrong with his book and give him a little needed humility. (Teaching nightschool CompSci sure worked for me, heh heh.)

HOWEVER, if you want a book then I recommend anything by Danny Goodman. He's a good 'explainer'. His book (ISBN: 0-596-00316-1) Dynamic HTML: The Definitive Reference, 2nd Edition is a good book to have by your side as you are learning web building.

Cool Reference!5
As a WebMaster, I try to keep up with the latest trends in web design. When I first heard about style sheets, I cringed because I thought "Oh great..some new complicated thing to learn." However, once I started reading this book, I began to realize the power of style sheets and how they make designing elements on a web site much easier. While small sites like the ones I design may not need Cascading Style Sheets, I realized very quickly what a pain it could be to have to change the color or font for a H1 or P element on a site containing 50 to 100 pages or more!

The book covers a number of different subjects, including browser compatability issues (after all, there doesn't seem to be any elements that all browsers support quite the same way), along with element units and values, fonts and text properties, colors, and visual formatting. I now realize the fascinating things you can do on a web site with the help of style sheets.

As with other O'Reilly books, there's a wealth of resources in the Appendixes, including a Resources appendix and a sample Style Sheet, done in HTML 2.0 (It always helps to see what a "sample" sheet looks like in order to further understand what all the element attributes mean).

An excellent reference guide to Cascading Style Sheets.