Cascading Style Sheets: The Definitive Guide

Overview

Cascading Style Sheets (CSS) is poised to make its mark on the Web. With good implementations in Internet Explorer 5.0 and Opera 3.6, and 100% support expected in Netscape's "Mozilla" browser, signs are that CSS is rapidly becoming a useful, reliable, and powerful tool for web authors.CSS is the W3C-approved method for enriching the visual presentation of web pages. Cascading Style Sheets: The Definitive Guide offers a complete, detailed review of CSS1 and CSS positioning, as well as an overview of CSS2. Each ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (53) from $1.99   
  • New (3) from $4.59   
  • Used (50) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$4.59
Seller since 2007

Feedback rating:

(144)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
Paperback in excellent condition.

Ships from: Erie, CO

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$22.50
Seller since 2005

Feedback rating:

(28)

Condition: New
Sebastopol, California, U.S.A. 2000 Soft Cover Stated First Edition NEW in None as Issued jacket BRAND NEW COPY w/trace softcover wear. Handbook to Web design using Cascading ... Style Sheets (CSS) in 11 chapters: 1, HTML with CSS; 2, Selectors & Structure; 3, Units & Values; 4, Text Properties; 5, Fonts; 6, Colors & Backgrounds; 7, Boxes & Borders; 8, Visual Formatting; 9, Positioning; 10, CSS2: A Look Ahead; and 11, CSS in Action, followed by 4 appendices. Read more Show Less

Ships from: Berkeley, CA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$33.49
Seller since 2014

Feedback rating:

(323)

Condition: New
Brand New Item.

Ships from: Chatham, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

Cascading Style Sheets (CSS) is poised to make its mark on the Web. With good implementations in Internet Explorer 5.0 and Opera 3.6, and 100% support expected in Netscape's "Mozilla" browser, signs are that CSS is rapidly becoming a useful, reliable, and powerful tool for web authors.CSS is the W3C-approved method for enriching the visual presentation of web pages. Cascading Style Sheets: The Definitive Guide offers a complete, detailed review of CSS1 and CSS positioning, as well as an overview of CSS2. Each property is explored in detail with a discussion of how each interacts with other properties. There is also information on how to avoid common mistakes in interpretation.This book is the first major title to cover CSS in a way that both acknowledges and describes current browser support, instead of simply describing the way things work in theory. It offers both web authors and scripters a comprehensive guide to using CSS effectively.Cascading Style Sheets: The Definitive Guide targets veteran web authors who have already invested thousands of hours in learning HTML and writing web pages and are wondering why they need to learn a brand new language of style. This book supplies those dubious but curious web authors with the information they need to easily implement CSS for their web site.This book also addresses an audience of novice web authors who are already straining to learn all of the tags and attributes of HTML and can benefit now from implementing CSS correctly instead of repeating the mistakes of the past.The author has extensive experience writing about pitfalls and interesting tricks in CSS. He is a member of the CSS&FP Working Group, coordinates the W3C's CSS1 Test Suite, remains active on CSS newsgroups, and edits Web Review's Style Sheets Reference Guide. He has built a widespread reputation as a CSS expert, particularly with regard to his understanding of the intricacies of browser support for CSS. He brings his knowledge and expertise to this book in the form of hints, workarounds, and many other tips for web authors.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
With CSS 2/2.1, web designers have the near-absolute control they’ve always craved. The standards are pretty well nailed, the tools are there, the browsers are close enough. Strong CSS skills are now indispensable. Eric A. Meyer’s Cascading Style Sheets: The Definitive Guide, Second Edition is the best way to get them.

Nobody knows the realities of CSS better than Meyer -- nobody. Here, he covers it all: document structure, values, units, fonts, text, visual formatting, borders, margins, colors, backgrounds, positioning, tables, lists, you name it. Meyer presents the why, the how, the pitfalls, the solutions -- and plenty of visual examples. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2003 and Upgrading & Fixing Networks for Dummies, Second Edition.

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.
Booknews
Cascading Style Sheets (CSS) is a standard way to separate a document's structure from its presentation, and is gradually gaining support among web browsers. This guide offers a detailed review of using aspects of CSS1 and CSS positioning to enrich the visual presentation of web pages. Topics include text properties, fonts, colors and backgrounds, boxes and borders, and visual formatting. Annotation c. Book News, Inc., Portland, OR (booknews.com)
Read More Show Less

Product Details

  • ISBN-13: 9781565926226
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 5/1/2000
  • Edition description: Older Edition
  • Edition number: 1
  • Pages: 472
  • Product dimensions: 6.97 (w) x 9.10 (h) x 0.93 (d)

Meet the Author

Eric is the author of the critically acclaimed online tutorial Introduction to HTML, as well as some other semi-popular Web pages. He is a member of the CSS&FP Working Group and the author of Cascading Style Sheets: The Definitive Guide.

Read More Show Less

Read an Excerpt


Chapter 1: HTML and CSS

In many ways, the Cascading Style Sheets (CSS) specification represents a unique development in the history of the World Wide Web. In its inherent ability to allow richly styled structural documents, CSS is both a step forward and a step backward--but it's a good step backward, and a needed one. To see what is meant by this, it is first necessary to understand how the Web got to the point of desperately needing something like CSS, and how CSS makes the web a better place for both page authors and web surfers.

The Web's Fall from Grace

Back in the dimly remembered early years of the Web (1990 -1993), HTML was a fairly lean little language. It was almost entirely composed of structural elements that were useful for describing things like paragraphs, hyperlinks, lists, and headings. It had nothing even remotely approaching tables, frames, or the complex markup we assume is a necessary part of creating web pages. The general idea was that HTML would be a structural markup language, used to describe the various parts of a document. There was very little said about how these parts should be displayed. The language wasn't concerned with appearance. It was just a clean little markup scheme.

Then came Mosaic.

Suddenly, the power of the World Wide Web was obvious to almost anyone who spent more than ten minutes playing with it. Jumping from one document to another was no harder than pointing the mouse cursor at a specially colored bit of text, or even an image, and clicking the mouse button. Even better, text and images could be displayed together, and all you needed to create a page was a plain text editor. It was free, it was open, and it was cool.

Web sites began to spring up everywhere. There were personal journals, university sites, corporate sites, and more. As number of sites increased, so did the demand for new HTML tags that would allow one effect or another. Authors started demanding that they be able to make text boldfaced, or italicized.

At the time, HTML wasn't equipped to handle these sorts of desires. You could declare a bit of text to be emphasized, but that wasn't necessarily the same as being italicized--it could be boldfaced instead, or even normal text with a different color, depending on the user's browser and their preferences. There was nothing to ensure that what the author created was what the reader would see.

As a result of these pressures, markup elements like <B> and <I> started to creep into the language. Suddenly, a structural language started to become presentational.

What a Mess

Years later, we have inherited the flaws inherent in this process. Large parts of HTML 3.2 and HTML 4.0, for example, are devoted to presentational considerations. The ability to color and size text through the FONT element, to apply background colors and images to documents and tables, to space and pad the contents of table cells, and to make text blink on and off are all the legacy of the original cries for "more control!"

If you want to know why this is a bad thing, all it takes is a quick glance at any corporate web site's page markup. The sheer amount of markup in comparison to actual useful information is astonishing. Even worse, for most sites, the markup is almost entirely made up of tables and FONT tags, none of which conveys any real semantic meaning to what's being presented. From a structural standpoint, these pages are little better than random strings of letters.

For example, let's assume that for page titles, an author is using FONT tags instead of heading tags like H1, like this:


<FONT SIZE="+3" FACE="Helvetica" COLOR="red">Page Title</FONT>

Structurally speaking, the FONT tag has no meaning. This makes the document far less useful. What good is a FONT tag to a speech-synthesis browser, for example? If an author uses heading tags instead of FONT tags, the speaking browser can use a certain speaking style to read the text. With the FONT tag, the browser has no way to know that the text is any different from other text.

Why do authors run roughshod over structure and meaning like this? Because they want readers to see the page as they designed it. To use structural HTML markup is to give up a lot of control over a page's appearance, and it certainly doesn't allow for the kind of densely packed page designs that have become so popular over the years...

Read More Show Less

Table of Contents

Preface;
Typographical Conventions;
Property Conventions;
How to Contact Us;
Acknowledgments;
Chapter 1: HTML and CSS;
1.1 The Web’s Fall from Grace;
1.2 CSS to the Rescue;
1.3 Limitations of CSS;
1.4 Bringing CSS and HTML Together;
1.5 Summary;
Chapter 2: Selectors and Structure;
2.1 Basic Rules;
2.2 Grouping;
2.3 Class and ID Selectors;
2.4 Pseudo-Classes and Pseudo-Elements;
2.5 Structure;
2.6 Inheritance;
2.7 Specificity;
2.8 The Cascade;
2.9 Classification of Elements;
2.10 Summary;
Chapter 3: Units and Values;
3.1 Colors;
3.2 Length Units;
3.3 Percentage Values;
3.4 URLs;
3.5 CSS2 Units;
3.6 Summary;
Chapter 4: Text Properties;
4.1 Manipulating Text;
4.2 Summary;
Chapter 5: Fonts;
5.1 Font Families;
5.2 Font Weights;
5.3 Font Size;
5.4 Styles and Variants;
5.5 Using Shorthand: The font Property;
5.6 Font Matching;
5.7 Summary;
Chapter 6: Colors and Backgrounds;
6.1 Colors;
6.2 Complex Backgrounds;
6.3 Summary;
Chapter 7: Boxes and Borders;
7.1 Basic Element Boxes;
7.2 Margins or Padding?;
7.3 Margins;
7.4 Borders;
7.5 Padding;
7.6 Floating and Clearing;
7.7 Lists;
7.8 Summary;
Chapter 8: Visual Formatting;
8.1 Basic Boxes;
8.2 Block-Level Elements;
8.3 Floated Elements;
8.4 Inline Elements;
8.5 Summary;
Chapter 9: Positioning;
9.1 General Concepts;
9.2 Relative Positioning;
9.3 Absolute Positioning;
9.4 Fixed Positioning;
9.5 Stacking Positioned Elements;
9.6 Summary;
Chapter 10: CSS2: A Look Ahead;
10.1 Changes from CSS1;
10.2 CSS2 Selectors;
10.3 Fonts and Text;
10.4 Generated Content;
10.5 Adapting to the Environment;
10.6 Borders;
10.7 Tables;
10.8 Media Types and @-rules;
10.9 Summary;
Chapter 11: CSS in Action;
11.1 Conversion Projects;
11.2 Tips & Tricks;
CSS Resources;
General Information;
Tips, Pointers, and Other Practical Advice;
Online Communities;
Bug Reporting;
HTML 2.0 Style Sheet;
CSS1 Properties;
CSS Support Chart;
Notes;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted November 15, 2000

    Excellent Guide for Learning about Style Sheets

    As HTML becomes more advanced, web desingers want to be able to do more things on web sites. HTML 'elements' are good, but are limited. As a 'amateur web page designer,' I had heard previously about Cascading Style Sheets but resisted the urge to learn more until now. This book dives head-first into the topic and gives a detailed look at Style Sheets, starting with their 'history,' basic rules and structure, text and background colors, and other text properties just to name a few topics. This book covers the current standard, CSS1 but does devote a chapter to CSS2, the upcoming standard. I found it intriguing to learn how I could 'manipulate' HTML elements using a style sheet, all the various things I could do if I was so motivated. I could go 'conservative' with say a H1 element (white text on a black background) or 'wild' with the same one (say pink text on a lime green background) if I was so motivated (and didn't mind really upsetting viewers who saw a combination like that!). One important point that the book stresses is how relatively little compatibility various browsers have with Style Sheets. Hopefully this will be changing soon. As with most other O'Reilly books, the appendixes have a wealth of reference material, including Resources, Properties and a guide to how different browsers support various CSS1 elements. All in all, I found this book to be an excellent detailed guide to Cascading Style Sheets.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)