Book description
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.
Table of contents
-
Cascading Style Sheets: The Definitive Guide
- Preface
- 1. HTML and CSS
- 2. Selectors and Structure
- 3. Units and Values
- 4. Text Properties
- 5. Fonts
- 6. Colors and Backgrounds
- 7. Boxes and Borders
- 8. Visual Formatting
- 9. Positioning
- 10. CSS2: A Look Ahead
-
11. CSS in Action
- Conversion Projects
-
Tips & Tricks
- Making Styles Work
- Hiding Styles with @import
- Fighting Margin Problems with @import
- Styling Common Elements
- Getting Full Content Backgrounds in Navigator
- The Incredible Shrinking Text!
- Preserving Boldness
- Floating Text Elements in Internet Explorer
- Drop Caps With and Without :first-letter
- Disappearing Styles
- Serving CSS Up Correctly
- A. CSS Resources
- B. HTML 2.0 Style Sheet
-
C. CSS1 Properties
- :active
- :first-letter
- :first-line
- !important
- :link
- :visited
- background
- background-attachment
- background-color
- background-image
- background-position
- background-repeat
- border
- border-bottom
- border-bottom-width
- border-color
- border-left
- border-left-width
- border-right
- border-right-width
- border-style
- border-top
- border-top-width
- border-width
- clear
- color
- display
- float
- font
- font-family
- font-size
- font-style
- font-variant
- font-weight
- height
- letter-spacing
- line-height
- list-style
- list-style-image
- list-style-position
- list-style-type
- margin
- margin-bottom
- margin-left
- margin-right
- margin-top
- padding
- padding-bottom
- padding-left
- padding-right
- padding-top
- text-align
- text-decoration
- text-indent
- text-transform
- vertical-align
- white-space
- width
- word-spacing
- D. CSS Support Chart
- Index
- Colophon
Product information
- Title: Cascading Style Sheets: The Definitive Guide
- Author(s):
- Release date: May 2000
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565926226
You might also like
book
Cascading Style Sheets: The Definitive Guide, Second Edition
Simply put, Cascading Style Sheets (CSS) is a way to separate a document's structure from its …
book
Beginning HTML, XHTML, CSS, and JavaScript®
An indispensable introductory guide to creating web pages using the most up-to-date standards This beginner guide …
book
HTML Utopia: Designing Without Tables Using CSS
This book is for Web Developers who want to develop or migrate existing websites from using …
book
Dynamic HTML: The Definitive Reference, 3rd Edition
Packed with information on the latest web specifications and browser features, this new edition is your …