Cascading Style Sheets: Designing for the Web

Front Cover
Addison-Wesley Professional, Apr 25, 2005 - Computers - 416 pages

In this updated edition to their original best-selling classic, the co-creators of CSS clearly, logically, and painlessly explain the hows and whys and ins and outs of the visual formatting language that is their gift to us. The Web would be a poorer place without Messieurs Bos and Lie. Your shelf will be richer for the addition of this book.

Rely on it. Study it. Savor it.

The Indispensible CSS Tutorial and Reference–Straight from the Creators of CSS

Direct from the creators of CSS, this is the definitive guide to CSS, today's indispensable standard for controlling the appearance of any Web or XML document. This book doesn't just show how to use every significant CSS 1 and 2.x feature; it carefully explains the "why" behind today's most valuable CSS design techniques. You'll find practical, downloadable examples throughout–along with essential browser support information and best practices for building high-impact pages and applications.

Cascading Style Sheets: Designing for the Web, Third Edition covers every CSS 2.1 improvement and fix, from new height/width definitions in absolutely positioned elements to new clip property calculations. Clear, readable, and thorough, it's the one must-have CSS resource for every Web developer, designer, and content provider. Coverage includes

  • Mastering essential CSS concepts: Rules, declarations, selectors, properties, and more
  • Working with type: From absolute/relative units to font size and weight
  • Understanding CSS objects: Box model, display properties, list styles, and more
  • Exercising total control over spacing and positioning
  • Specifying colors for borders and backgrounds
  • Managing printing: Margins, page breaks, and more
  • Implementing media-specific style sheets for audio rendering, handhelds, and other forms of presentation
  • Moving from HTML extensions to CSS: Five practical case studies
  • Making the most of cascading and inheritance
  • Using external style sheets and @import
  • Integrating CSS with XML documents
  • Optimizing the performance of CSS pages
  • Includes a handy CSS Quick Reference printed on the inside covers
 

Contents

Chapter 1 The Web and HTML
1
Chapter 2 CSS
33
Chapter 3 The amazing em unit and other best practices
54
Chapter 4 CSS selectors
61
Chapter 5 Fonts
89
Chapter 6 The fundamental objects
122
Chapter 7 Space inside boxes
148
Chapter 8 Space around boxes
170
Chapter 12 Printing and other media
266
Chapter 13 Cascading and inheritance
281
Chapter 14 External style sheets
293
Chapter 15 Other approaches
307
Chapter 16 XML documents
317
Chapter 17 Tables
327
Chapter 18 The CSS saga
345
HTML 40 quick reference
354

Chapter 9 Relative and absolute positioning
205
Chapter 10 Colors
222
Chapter 11 From HTML extensions to CSS
242
Reading property value definitions
369
System colors
376
Copyright

Other editions - View all

Common terms and phrases

About the author (2005)

ABOUT THE AUTHORS

HåKON WIUM LIE is the CTO of Opera Software. His job is to make sure Opera remains a better, smaller, and faster browser than the one you know. Before joining Opera in 1999, Håkon worked at W3C, where he was responsible for the development of Cascading Style Sheets—a concept he proposed while working at CERN in 1994. Håkon holds an MS degree in visual studies from the MIT Media Lab.

BERT BOS, along with Lie, was one of the original authors of CSS. He joined W3C in 1995 to launch its internationalization activities and currently coordinates its style sheet activities.


© Copyright Pearson Education. All rights reserved.

Bibliographic information