Cascading Style Sheets: The Definitive Guide, 2/e

Eric A. Meyer

  • 出版商: O'Reilly
  • 出版日期: 2003-12-31
  • 售價: $1,550
  • 貴賓價: 9.5$1,473
  • 語言: 英文
  • 頁數: 680
  • ISBN: 0596005253
  • ISBN-13: 9780596005252
  • 已過版

買這商品的人也買了...

相關主題

商品描述

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.

Table of Contents:

Foreword

Preface

1. CSS and Documents
     The Web's Fall from Grace
     CSS to the Rescue
     Elements
     Bringing CSS and XHTML Together

2. Selectors
     Basic Rules
     Grouping
     Class and ID Selectors
     Attribute Selectors
     Using Document Structure
     Pseudo-Classes and Pseudo-Elements

3. Structure and the Cascade
     Specificity
     Inheritance
     The Cascade

4. Values and Units
     Numbers
     Percentages
     Color
     Length Units
     URLs
     CSS2 Units

5. Fonts
     Font Families
     Font Weights
     Font Size
     Styles and Variants
     Stretching and Adjusting Fonts
     The font Property
     Font Matching

6. Text Properties
     Indentation and Horizontal Alignment
     Vertical Alignment
     Word Spacing and Letter Spacing
     Text Transformation
     Text Decoration
     Text Shadows

7. Basic Visual Formatting
     Basic Boxes
     Block-Level Elements
     Inline Elements
     Altering Element Display

8. Padding, Borders, and Margins
     Basic Element Boxes
     Margins
     Borders
     Padding

9. Colors and Backgrounds
     Colors
     Foreground Colors
     Backgrounds

10. Floating and Positioning
     Floating
     Positioning

11. Table Layout
     Table Formatting
     Table Cell Borders
     Table Sizing

12. Lists and Generated Content
     Lists
     Generated Content

13. User Interface Styles
     System Fonts and Colors
     Cursors
     Outlines

14. Non-Screen Media
     Designating Medium-Specific Style Sheets
     Paged Media
     Aural Styles

A. Property Reference

B. Selector, Pseudo-Class, and Pseudo-Element Reference

C. Sample HTML 4 Style Sheet

Index