Book description
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
-
Cascading Style Sheets: The Definitive Guide, 2nd Edition
- Foreword
- Preface
- 1. CSS and Documents
- 2. Selectors
- 3. Structure and the Cascade
- 4. Values and Units
- 5. Fonts
- 6. Text Properties
- 7. Basic Visual Formatting
- 8. Padding, Borders, and Margins
- 9. Colors and Backgrounds
- 10. Floating and Positioning
- 11. Table Layout
- 12. Lists and Generated Content
- 13. User Interface Styles
- 14. Non-Screen Media
-
A. Property Reference
-
Visual Media
- background
- background-attachment
- background-color
- background-image
- background-position
- background-repeat
- border
- border-bottom
- border-bottom-color
- border-bottom-style
- border-bottom-width
- border-color
- border-left
- border-left-color
- border-left-style
- border-left-width
- border-right
- border-right-color
- border-right-style
- border-right-width
- border-style
- border-top
- border-top-color
- border-top-style
- border-top-width
- border-width
- bottom
- clear
- clip
- color
- content
- counter-increment
- counter-reset
- cursor
- direction
- display
- float
- font
- font-family
- font-size
- font-style
- font-variant
- font-weight
- height
- left
- letter-spacing
- line-height
- list-style
- list-style-image
- list-style-position
- list-style-type
- margin
- margin-bottom
- margin-left
- margin-right
- margin-top
- max-height
- max-width
- min-height
- min-width
- outline
- outline-color
- outline-style
- outline-width
- overflow
- padding
- padding-bottom
- padding-left
- padding-right
- padding-top
- position
- quotes
- right
- text-align
- text-decoration
- text-indent
- text-transform
- top
- unicode-bidi
- vertical-align
- visibility
- white-space
- width
- word-spacing
- z-index
- Tables
- Paged Media
- Dropped from CSS2.1
- Visual Styles
- Paged Media
- Aural Styles
-
Visual Media
- B. Selector, Pseudo-Class, and Pseudo-Element Reference
- C. Sample HTML 4 Style Sheet
- Index
- Colophon
Product information
- Title: Cascading Style Sheets: The Definitive Guide, Second Edition
- Author(s):
- Release date: March 2004
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596005252
You might also like
book
Cascading Style Sheets: The Definitive Guide
Cascading Style Sheets (CSS) is poised to make its mark on the Web. With good implementations …
book
Cascading Style Sheets: Designing for the Web, Third Edition
In this updated edition to their original best-selling classic, the co-creators of CSS clearly, logically, and …
book
CSS3 Quick Syntax Reference: A Pocket Guide to the Cascading Style Sheets Language
The CSS3 Quick Syntax Reference is a 150-page syntax reference to the Cascading Style Sheets language. …
book
Architecting CSS: The Programmer’s Guide to Effective Style Sheets
Leverage various CSS features in combination with popular architectures in order to bring your style sheets …