This book takes a practical, pragmatic look at the current state of affairs regarding CSS and guides the reader through how CSS works.
Chapter 1 - The Birth of CSS
Section 1.1 - The World Wide Web Consortium Introduces Cascading Style Sheets
Section 1.2 - XHTML, CSS2 and CSS3
Section 1.3 - Re-emergence of the Browser Wars?
Chapter 2 - (X)HTML and Its Relationship to CSS
Section 2.1 - Adding Cascading Style Sheets to Web Pages
Section 2.2 - The <style> Element
Section 2.3 - The <span> and <div> Elements
Section 2.4 - The <link> Element
Chapter 3 - Browser Adoption of CSS
Section 3.1 - Internet Explorer 3.x
Section 3.2 - Internet Explorer 4.x
Section 3.3 - Internet Explorer 4.5 (Macintosh) and 5.x (Windows and Macintosh)
Section 3.4 - Internet Explorer 5.5
Section 3.5 - Internet Explorer 6.0
Section 3.6 - Opera 3.5
Section 3.7 - Opera 4.x – 6.x
Section 3.8 - Netscape Navigator 4.x
Section 3.9 - Mozilla and Netscape Navigator 6.x and 7.x
Section 3.10 - Other Browsers
Chapter 4 - Implementation of Basic CSS Concepts
Section 4.1 - Grouping
Section 4.2 - Inheritance
Section 4.3 - class and id as Selectors
Section 4.4 - Contextual Selectors
Section 4.5 - Comments
Section 4.6 - CSS2 Selectors
Section 4.7 - CSS3 Selectors
Chapter 5 - The Cascade
Section 5.1 - Cascading Order
Section 5.2 - !important
Section 5.3 - Cascade-Order Sources
Chapter 6 - CSS Units
Section 6.1 - Length Units
Section 6.2 - Percentage Units
Section 6.3 - URLs
Section 6.4 - Strings
Section 6.5 - Time Units
Section 6.6 - Angle Units
Section 6.7 - Frequency Units
Chapter 7 - Pseudo-Classes and Pseudo-Elements
Section 7.1 - anchor Pseudo-Element
Section 7.2 - first-line Pseudo-Element
Section 7.3 - first-letter Pseudo-Element
Section 7.4 - lang Pseudo-Class
Section 7.5 - left, right and first Pseudo-Classes
Section 7.6 - focus and hover Pseudo-Classes
Section 7.7 - first-child Pseudo-Class
Section 7.8 - Pseudo-Elements in Selectors and Combining Multiple Pseudo-Elements
Chapter 8 - Media Types and Media Queries
Section 8.1 - Browser Compatibility
Section 8.2 - Media Queries
Section 8.3 - width and height Media Queries
Section 8.4 - device-width and device-height Media Queries
Section 8.5 - device-aspect-ratio Media Query
Section 8.6 - color Media Query
Section 8.7 - color-index Media Query
Section 8.8 - monochrome Media Query
Section 8.9 - resolution Media Query
Section 8.10 - scan Media Query
Section 8.11 - grid Media Query
Chapter 9 - Font Properties
Section 9.1 - font-family Property
Section 9.2 - font-size Property
Section 9.3 - font-style Property
Section 9.4 - font-variant Property
Section 9.5 - font-weight Property
Section 9.6 - font Property
Section 9.7 - font-stretch Property
Section 9.8 - font-size-adjust Property
Section 9.9 - The @font-face Pseudo-Element
Section 9.10 - CSS3 Font Decoration Properties
Chapter 10 - Text Properties
Section 10.1 - letter-spacing Property
Section 10.2 - word-spacing Property
Section 10.3 - line-height Property
Section 10.4 - vertical-align Property
Section 10.5 - text-align Property
Section 10.6 - text-decoration Property
Section 10.7 - text-indent Property
Section 10.8 - text-transform Property
Section 10.9 - text-shadow Property
Section 10.10 - glyph-orientation-horizontal and glyph-orientation-vertical Properties
Section 10.11 - text-script Property
Section 10.12 - min-font-size and max-font-size Properties
Section 10.13 - text-justify-trim Property
Section 10.14 - line-break Property
Section 10.15 - word-break-cjk Property
Section 10.16 - word-break-inside Property
Section 10.17 - word-break Property
Section 10.18 - wrap-option Property
Section 10.19 - linefeed-treatment Property
Section 10.20 - white-space-treatment Property
Section 10.21 - all-space-treatment Property
Section 10.22 - white-space Property
Section 10.23 - text-overflow-mode Property
Section 10.24 - text-overflow-ellipsis Property
Section 10.25 - text-overflow Property
Section 10.26 - kerning-mode Property
Section 10.27 - kerning-pair-threshold Property
Section 10.28 - punctuation-trim Property
Section 10.29 - text-line-through Set of Properties
Section 10.30 - text-overline Set of Properties
Section 10.31 - text-underline Set of Properties
Section 10.32 - text-blink Property
Chapter 11 - Text Property Extensions
Section 11.1 - Internet Explorer Text-Formatting CSS Extensions
Section 11.2 - layout-flow Property
Section 11.3 - writing-mode Property
Section 11.4 - layout-grid Sub-Family of Properties
Section 11.5 - text-autospace Property
Section 11.6 - text-justify Property
Section 11.7 - text-kashida-space Property
Section 11.8 - text-underline-position Property
Section 11.9 - word-break Property
Section 11.10 - text-align-last Property
Chapter 12 - Box Properties
Section 12.1 - border-"style" Properties
Section 12.2 - border-style Property
Section 12.3 - border-color Property
Section 12.4 - border-width Property
Section 12.5 - border-bottom Property
Section 12.6 - border-left Property
Section 12.7 - border-right Property
Section 12.8 - border-top Property
Section 12.9 - border-bottom-width Property
Section 12.10 - border-left-width Property
Section 12.11 - border-right-width Property
Section 12.12 - border-top-width Property
Section 12.13 - border Property
Section 12.14 - border-radius Set of Properties
Section 12.15 - border-image Set of Properties
Section 12.16 - border-fit Set of Properties
Section 12.17 - border-image-transform Set of Properties
Section 12.18 - border-break Property
Section 12.19 - box-shadow Property
Section 12.20 - clear Property
Section 12.21 - clear-after Property
Section 12.22 - float Property
Section 12.23 - float-displace Property
Section 12.24 - indent-edge-reset Property
Section 12.25 - height Property
Section 12.26 - width Property
Section 12.27 - padding-bottom Property
Section 12.28 - padding-left Property
Section 12.29 - padding-right Property
Section 12.30 - padding-top Property
Section 12.31 - padding Property
Section 12.32 - margin-bottom Property
Section 12.33 - margin-left Property
Section 12.34 - margin-right Property
Section 12.35 - margin-top Property
Section 12.36 - margin Property
Section 12.37 - min-width, max-width, min-height and max-height Properties
Section 12.38 - fit and fit-position Properties
Section 12.39 - marquee Properties
Chapter 13 - Color
Section 13.1 - color Property
Section 13.2 - Gamma Correction under CSS3
Section 13.3 - opacity Property
Section 13.4 - rendering-intent Property
Section 13.5 - color-profile Property
Section 13.6 - @color-profile
Section 13.7 - X11 Color Keywords
Chapter 14 - Background Properties
Section 14.1 - background-color Property
Section 14.2 - background-image Property
Section 14.3 - background-repeat Property
Section 14.4 - background-attachment Property
Section 14.5 - background-position Property
Section 14.6 - background Property
Section 14.7 - background-position-x and background-position-y Properties
Section 14.8 - CSS3 Properties
Section 14.9 - background-clip Property
Section 14.10 - background-origin
Section 14.11 - background-size
Section 14.12 - background-quantity
Section 14.13 - background-spacing
Chapter 15 - Classification Properties and Generated/Automatic Content
Section 15.1 - white-space Property
Section 15.2 - list-style-type Property
Section 15.3 - list-style-image Property
Section 15.4 - list-style-position Property
Section 15.5 - list-style Property
Section 15.6 - The content Property plus the before and after Pseudo-Elements
Section 15.7 - quotes Property
Section 15.8 - counter-increment and counter-reset Properties
Section 15.9 - marker-offset Property
Chapter 16 - Visual Formatting and Detailed Visual Formatting
Section 16.1 - display Property
Section 16.2 - Positioning Properties: position, top, left, right and bottom
Section 16.3 - z-index Property
Section 16.4 - direction and unicode-bidi Properties
Section 16.5 - min-width, max-width, min-height and max-height Properties
Chapter 17 - Visual Effects
Section 17.1 - overflow Property
Section 17.2 - overflow-x and overflow-y Properties
Section 17.3 - clip Property
Section 17.4 - visibility Property
Section 17.5 - zoom Property
Section 17.6 - ime-mode Property
Chapter 18 - Paged Media
Section 18.1 - size Property
Section 18.2 - marks Property
Section 18.3 - Page-Break Properties
Section 18.4 - page Property
Section 18.5 - windows and orphans Properties
Chapter 19 - Tables
Section 19.1 - caption-side Property
Section 19.2 - table-layout Property
Section 19.3 - border-collapse, border-spacing and empty-cells
Section 19.4 - speak-header Property
Section 19.5 - Table-like Layout Using CSS
Chapter 20 - User Interface
Section 20.1 - cursor Property
Section 20.2 - outline Sub-Family of Properties
Section 20.3 - outline-width Property
Section 20.4 - outline-style Property
Section 20.5 - outline-color Property
Section 20.6 - outline Property
Section 20.7 - accelerator Property
Section 20.8 - CSS3 Properties
Section 20.9 - resizer Property
Section 20.10 - key-equivalent Property
Section 20.11 - tab-index Property
Section 20.12 - user-input Property
Section 20.13 - user-modify Property
Section 20.14 - user-select Property
Section 20.15 - user-focus, user-focus-key and user-focus-pointer Properties
Section 20.16 - toggle-group and group-reset Properties
Section 20.17 - Mozilla User-Interface-Related Extensions
Section 20.18 - CSS3 Additions to Existing User-Interface Properties
Chapter 21 - Aural Cascading Style Sheets
Section 21.1 - speak Property
Section 21.2 - volume Property
Section 21.3 - Pause Sub-Set of Properties
Section 21.4 - Cue Sub-Set of Properties
Section 21.5 - play-during Property
Section 21.6 - azimuth Property
Section 21.7 - elevation Property
Section 21.8 - speech-rate Property
Section 21.9 - voice-family Property
Section 21.10 - pitch Property
Section 21.11 - pitch-range Property
Section 21.12 - stress Property
Section 21.13 - richness Property
Section 21.14 - Speech Sub-Group of Properties
Chapter 22 - Ruby
Section 22.1 - What Is Ruby?
Section 22.2 - The Tag Set
Section 22.3 - ruby-align Property
Section 22.4 - ruby-overhang Property
Section 22.5 - ruby-position Property
Chapter 23 - Multi-Column Layout
Section 23.1 - Introduction
Section 23.2 - column-count Property
Section 23.3 - column-width Property
Section 23.4 - column-gap Property
Section 23.5 - column-width-policy Property
Section 23.6 - column-space-distribution Property
Section 23.7 - Column Rule Properties
Section 23.8 - column-span Property
Chapter 24 - Scrollbars
Section 24.1 - The Parts of a Scrollbar
Section 24.2 - Scrollbar Properties
Section 24.3 - Browser Compatibility
Chapter 25 - Filters and Transitions
Section 25.1 - Visual Filters in Internet Explorer
Section 25.2 - Static Filters
Section 25.3 - Transition Filter Overview
Appendix A - CSS1 and CSS2 Compatibility Charts
Appendix B - Alphabetical Listing of CSS Properties and Values
Appendix C - CSS3 Mobile Profile
This book provides the information Web authors need in order to understand not only how CSS should work, but also how it actually works in current major browsers. It does not confine itself only to one operating system, but takes a look at how CSS works under browsers working under multiple operating systems. With this knowledge, Web authors will know which CSS properties are "safe" for use, and which to avoid.
More than that though, this book also provides information as to the future of CSS with an in-depth look at what will likely prove to be the foundation of the future CSS3 specification.
You do not have to be an expert at understanding how Web pages work, but the book does assume you have a basic understanding of both HTML and the Web. The book assumes no prior knowledge of CSS. It will not only serve those Web authors who are just starting out using CSS, but also act as a handy reference for those occasions when you need to look up how a particular CSS property works.