Synopses & Reviews
Cascading Style Sheets (CSS) is poised to make its mark on the Web. With good implementations in Internet Explorer 5.0 and Opera 3.6, and 100% support expected in Netscape's "Mozilla" browser, signs are that CSS is rapidly becoming a useful, reliable, and powerful tool for web authors.CSS is the W3C-approved method for enriching the visual presentation of web pages. Cascading Style Sheets: The Definitive Guide offers a complete, detailed review of CSS1 and CSS positioning, as well as an overview of CSS2. Each property is explored in detail with a discussion of how each interacts with other properties. There is also information on how to avoid common mistakes in interpretation.This book is the first major title to cover CSS in a way that both acknowledges and describes current browser support, instead of simply describing the way things work in theory. It offers both web authors and scripters a comprehensive guide to using CSS effectively.Cascading Style Sheets: The Definitive Guide targets veteran web authors who have already invested thousands of hours in learning HTML and writing web pages and are wondering why they need to learn a brand new language of style. This book supplies those dubious but curious web authors with the information they need to easily implement CSS for their web site.This book also addresses an audience of novice web authors who are already straining to learn all of the tags and attributes of HTML and can benefit now from implementing CSS correctly instead of repeating the mistakes of the past.The author has extensive experience writing about pitfalls and interesting tricks in CSS. He is a member of the CSS&FP Working Group, coordinates the W3C's CSS1 Test Suite, remains active on CSS newsgroups, and edits Web Review's Style Sheets Reference Guide. He has built a widespread reputation as a CSS expert, particularly with regard to his understanding of the intricacies of browser support for CSS. He brings his knowledge and expertise to this book in the form of hints, workarounds, and many other tips for web authors.
Synopsis
CSS is the HTML 4.0-approved method for controlling visual presentation on Web pages. This guide offers a detailed review of CSS1 properties and how they interact and shows how to avoid common mistakes in interpretation. Instead of simply describing how things work in theory, this book covers CSS in a way that acknowledges and describes current browser support.
Synopsis
Cascading Style Sheets (CSS), the HTML 4.0-approved method for controlling visual presentation on web pages, is poised to make its mark on the Web. With good implementations in Internet Explorer 5.0 and Opera 3.5, and 100% support expected in Netscape's "Mozilla" browser, signs are that CSS is rapidly becoming a useful, reliable, and powerful tool for web authors. "Cascading Style Sheets: The Definitive Guide is a thorough review of all aspects of CSS1 and a comprehensive guide to CSS implementation for both advanced and novice web authors. It explores in detail each individual property and how it interacts with other properties, and shows how to avoid common mistakes in interpretation. This is the first major title on CSS that acknowledges and describes current browser support, instead of simply addressing the way things work in theory.
About the Author
Eric is the author of the critically acclaimed online tutorial Introduction to HTML, as well as some other semi-popular Web pages. He is a member of the CSS&FP Working Group and the author of Cascading Style Sheets: The Definitive Guide.
Table of Contents
Preface; Typographical Conventions; Property Conventions; How to Contact Us; Acknowledgments; Chapter 1: HTML and CSS; 1.1 The Web's Fall from Grace; 1.2 CSS to the Rescue; 1.3 Limitations of CSS; 1.4 Bringing CSS and HTML Together; 1.5 Summary; Chapter 2: Selectors and Structure; 2.1 Basic Rules; 2.2 Grouping; 2.3 Class and ID Selectors; 2.4 Pseudo-Classes and Pseudo-Elements; 2.5 Structure; 2.6 Inheritance; 2.7 Specificity; 2.8 The Cascade; 2.9 Classification of Elements; 2.10 Summary; Chapter 3: Units and Values; 3.1 Colors; 3.2 Length Units; 3.3 Percentage Values; 3.4 URLs; 3.5 CSS2 Units; 3.6 Summary; Chapter 4: Text Properties; 4.1 Manipulating Text; 4.2 Summary; Chapter 5: Fonts; 5.1 Font Families; 5.2 Font Weights; 5.3 Font Size; 5.4 Styles and Variants; 5.5 Using Shorthand: The font Property; 5.6 Font Matching; 5.7 Summary; Chapter 6: Colors and Backgrounds; 6.1 Colors; 6.2 Complex Backgrounds; 6.3 Summary; Chapter 7: Boxes and Borders; 7.1 Basic Element Boxes; 7.2 Margins or Padding?; 7.3 Margins; 7.4 Borders; 7.5 Padding; 7.6 Floating and Clearing; 7.7 Lists; 7.8 Summary; Chapter 8: Visual Formatting; 8.1 Basic Boxes; 8.2 Block-Level Elements; 8.3 Floated Elements; 8.4 Inline Elements; 8.5 Summary; Chapter 9: Positioning; 9.1 General Concepts; 9.2 Relative Positioning; 9.3 Absolute Positioning; 9.4 Fixed Positioning; 9.5 Stacking Positioned Elements; 9.6 Summary; Chapter 10: CSS2: A Look Ahead; 10.1 Changes from CSS1; 10.2 CSS2 Selectors; 10.3 Fonts and Text; 10.4 Generated Content; 10.5 Adapting to the Environment; 10.6 Borders; 10.7 Tables; 10.8 Media Types and @-rules; 10.9 Summary; Chapter 11: CSS in Action; 11.1 Conversion Projects; 11.2 Tips and Tricks; CSS Resources; General Information; Tips, Pointers, and Other Practical Advice; Online Communities; Bug Reporting; HTML 2.0 Style Sheet; CSS1 Properties; CSS Support Chart; Notes; Colophon;