0%

Book Description

They say that good things come in small packages, and it's certainly true for this edition of CSS Pocket Reference. Completely revised and updated to reflect the latest Cascading Style Sheet specifications in CSS 2.1, this indispensable little book covers the most essential information that web designers and developers need to implement CSS effectively across all browsers.

Inside, you'll find:

  • A short introduction to the key concepts of CSS


  • A complete alphabetical reference to all CSS 2.1 selectors and properties


  • A chart displaying detailed information about CSS support for every style element and its cross-browser compatibility


This reference neatly condenses the details of its top-selling companion volume, Cascading Style Sheets: The Definitive Guide into one easy-to-use cheat-sheet that delivers all the CSS details you need to complete the task at hand. Whenever you're stuck and need an answer quickly -- or if you just want to be sure you're applying CSS correctly -- this edition of the CSS Pocket Reference is the book you'll want by your keyboard or, conveniently, in your back pocket.

Table of Contents

  1. 1. CSS Pocket Reference
    1. Conventions Used in This Book
    2. SafariĀ® Books Online
    3. Adding Styles to HTML and XHTML
      1. Inline Styles
      2. Embedded Style Sheets
      3. External Style Sheets
        1. @import directive
        2. link element
        3. xml-stylesheet processing instruction
    4. Rule Structure
    5. Style Precedence
      1. Specificity Calculations
      2. Inheritance
      3. The Cascade
    6. Element Classification
      1. Nonreplaced Elements
      2. Replaced Elements
    7. Element Display Roles
      1. Block-Level
      2. Inline-Level Elements
    8. Basic Visual Layout
      1. Block-Level Layout
      2. Inline Layout
    9. Floating Rules
    10. Positioning Rules
      1. Types of Positioning
      2. The Containing Block
      3. Layout of Absolutely Positioned Elements
        1. Horizontal layout of nonreplaced absolutely positioned elements
        2. Vertical layout of nonreplaced absolutely positioned elements
        3. Horizontal layout of replaced absolutely positioned elements
        4. Vertical layout of replaced absolutely positioned elements
    11. Table Layout
      1. Table Arrangement Rules
      2. Fixed Table Layout
      3. Automatic Table Layout
      4. Collapsing Cell Borders
        1. Collapsing borders
      5. Vertical Alignment Within Cells
    12. Values
      1. Keywords
      2. Color Values
      3. Number Values
      4. Percentage Values
      5. Length Values
        1. Absolute length units
        2. Relative length units
      6. URIs
      7. Aural-Specific Values
    13. Selectors
    14. Pseudo-Classes and Pseudo-Elements
    15. Property Reference
      1. Visual Media
    16. Tables
    17. Paged Media
    18. Dropped from CSS2.1
    19. Visual Styles
    20. Paged Media
    21. Aural Styles
  2. Index
  3. About the Author
  4. Copyright
18.191.189.85