CSS: The Definitive Guide, 3rd Edition


book cover
CSS: The Definitive Guide, 3rd Edition
By Eric Meyer
...............................................
Publisher: O'Reilly
Pub Date: November 2006
Print ISBN-10: 0-596-52733-0
Print ISBN-13: 978-0-59-652733-4
Pages: 536
 

Table of Contents  | Index
overview

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 and also 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.


CSS: The Definitive Guide, 3rd Edition, provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, lists and generated content, table layout, user interface, paged media, and more. Author Eric Meyer tackles the subject with passion, exploring in detail each individual CSS property and how it interacts with other properties. You'll not only learn how to avoid common mistakes in interpretation, you also will benefit from the depth and breadth of his experience and his clear and honest style. This is the complete sourcebook on CSS.



book cover
CSS: The Definitive Guide, 3rd Edition
By Eric Meyer
...............................................
Publisher: O'Reilly
Pub Date: November 2006
Print ISBN-10: 0-596-52733-0
Print ISBN-13: 978-0-59-652733-4
Pages: 536
 

Table of Contents  | Index

   Copyright
   Dedication
   Preface
        Chapter 1.  CSS and Documents
      Section 1.1.  The Web's Fall from Grace
      Section 1.2.  CSS to the Rescue
      Section 1.3.  Elements
      Section 1.4.  Bringing CSS and XHTML Together
      Section 1.5.  Summary
        Chapter 2.  Selectors
      Section 2.1.  Basic Rules
      Section 2.2.  Grouping
      Section 2.3.  Class and ID Selectors
      Section 2.4.  Attribute Selectors
      Section 2.5.  Using Document Structure
      Section 2.6.  Pseudo-Classes and Pseudo-Elements
      Section 2.7.  Summary
        Chapter 3.  Structure and the Cascade
      Section 3.1.  Specificity
      Section 3.2.  Inheritance
      Section 3.3.  The Cascade
      Section 3.4.  Summary
        Chapter 4.  Values and Units
      Section 4.1.  Numbers
      Section 4.2.  Percentages
      Section 4.3.  Color
      Section 4.4.  Length Units
      Section 4.5.  URLs
      Section 4.6.  CSS2 Units
      Section 4.7.  Summary
        Chapter 5.  Fonts
      Section 5.1.  Font Families
      Section 5.2.  Font Weights
      Section 5.3.  Font Size
      Section 5.4.  Styles and Variants
      Section 5.5.  Stretching and Adjusting Fonts
      Section 5.6.  The font Property
      Section 5.7.  Font Matching
      Section 5.8.  Summary
        Chapter 6.  Text Properties
      Section 6.1.  Indentation and Horizontal Alignment
      Section 6.2.  Vertical Alignment
      Section 6.3.  Word Spacing and Letter Spacing
      Section 6.4.  Text Transformation
      Section 6.5.  Text Decoration
      Section 6.6.  Text Shadows
      Section 6.7.  Summary
        Chapter 7.  Basic Visual Formatting
      Section 7.1.  Basic Boxes
      Section 7.2.  Block-Level Elements
      Section 7.3.  Inline Elements
      Section 7.4.  Altering Element Display
      Section 7.5.  Summary
        Chapter 8.  Padding, Borders, and Margins
      Section 8.1.  Basic Element Boxes
      Section 8.2.  Margins
      Section 8.3.  Borders
      Section 8.4.  Padding
      Section 8.5.  Summary
        Chapter 9.  Colors and Backgrounds
      Section 9.1.  Colors
      Section 9.2.  Foreground Colors
      Section 9.3.  Backgrounds
      Section 9.4.  Summary
        Chapter 10.  Floating and Positioning
      Section 10.1.  Floating
      Section 10.2.  Positioning
      Section 10.3.  Summary
        Chapter 11.  Table Layout
      Section 11.1.  Table Formatting
      Section 11.2.  Table Cell Borders
      Section 11.3.  Table Sizing
      Section 11.4.  Summary
        Chapter 12.  Lists and Generated Content
      Section 12.1.  Lists
      Section 12.2.  Generated Content
      Section 12.3.  Summary
        Chapter 13.  User Interface Styles
      Section 13.1.  System Fonts and Colors
      Section 13.2.  Cursors
      Section 13.3.  Outlines
      Section 13.4.  Summary
        Chapter 14.  Non-Screen Media
      Section 14.1.  Designating Medium-Specific Style Sheets
      Section 14.2.  Paged Media
      Section 14.3.  Aural Styles
      Section 14.4.  Summary
        Appendix A.  Property Reference
      Section A.1.  Visual Media
      Section A.2.  Tables
      Section A.3.  Paged Media
      Section A.4.  Dropped from CSS2.1
      Section A.5.  Visual Styles
      Section A.6.  Paged Media
      Section A.7.  Aural Styles
        Appendix B.  Selector, Pseudo-Class, and Pseudo-Element Reference
      Section B.1.  Selectors
      Section B.2.  Pseudo-Classes and Pseudo-Elements
        Appendix C.  Sample HTML 4 Style Sheet
   About the Author
   Colophon
   Index