CARVIEW |
CSS: The Definitive Guide, Third Edition
Visual Presentation for the Web
- By
- Eric A. Meyer
- Publisher:
- O'Reilly Media
- Released:
- November 2006
- Pages:
- 544
Product Editions
- CSS: The Definitive Guide, Third Edition - November 2006
- Cascading Style Sheets: The Definitive Guide, Second Edition - March 2004
- Cascading Style Sheets: The Definitive Guide - May 2000
CSS: The Definitive Guide, 3rd Edition, provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, lists and generated content, table layout, user interface, paged media, and more.
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 and also 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.
CSS: The Definitive Guide, 3rd Edition, provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, lists and generated content, table layout, user interface, paged media, and more. Author Eric Meyer tackles the subject with passion, exploring in detail each individual CSS property and how it interacts with other properties. You'll not only learn how to avoid common mistakes in interpretation, you also will benefit from the depth and breadth of his experience and his clear and honest style. This is the complete sourcebook on CSS.
The 3rd edition contains:
- Updates to reflect changes in the latest draft version of CSS 2.1
- Browser notes updated to reflect changes between IE6 and IE7
- Advanced selectors supported in IE7 and other major browsers included
- A new round of technical edits by a fresh set of editors
- Clarifications and corrected errata, including updated URLs of referenced online resources
-
Chapter 1 CSS and Documents
-
The Web's Fall from Grace
-
CSS to the Rescue
-
Elements
-
Bringing CSS and XHTML Together
-
Summary
-
-
Chapter 2 Selectors
-
Basic Rules
-
Grouping
-
Class and ID Selectors
-
Attribute Selectors
-
Using Document Structure
-
Pseudo-Classes and Pseudo-Elements
-
Summary
-
-
Chapter 3 Structure and the Cascade
-
Specificity
-
Inheritance
-
The Cascade
-
Summary
-
-
Chapter 4 Values and Units
-
Numbers
-
Percentages
-
Color
-
Length Units
-
URLs
-
CSS2 Units
-
Summary
-
-
Chapter 5 Fonts
-
Font Families
-
Font Weights
-
Font Size
-
Styles and Variants
-
Stretching and Adjusting Fonts
-
The font Property
-
Font Matching
-
Summary
-
-
Chapter 6 Text Properties
-
Indentation and Horizontal Alignment
-
Vertical Alignment
-
Word Spacing and Letter Spacing
-
Text Transformation
-
Text Decoration
-
Text Shadows
-
Summary
-
-
Chapter 7 Basic Visual Formatting
-
Basic Boxes
-
Block-Level Elements
-
Inline Elements
-
Altering Element Display
-
Summary
-
-
Chapter 8 Padding, Borders, and Margins
-
Basic Element Boxes
-
Margins
-
Borders
-
Padding
-
Summary
-
-
Chapter 9 Colors and Backgrounds
-
Colors
-
Foreground Colors
-
Backgrounds
-
Summary
-
-
Chapter 10 Floating and Positioning
-
Floating
-
Positioning
-
Summary
-
-
Chapter 11 Table Layout
-
Table Formatting
-
Table Cell Borders
-
Table Sizing
-
Summary
-
-
Chapter 12 Lists and Generated Content
-
Lists
-
Generated Content
-
Summary
-
-
Chapter 13 User Interface Styles
-
System Fonts and Colors
-
Cursors
-
Outlines
-
Summary
-
-
Chapter 14 Non-Screen Media
-
Designating Medium-Specific Style Sheets
-
Paged Media
-
Aural Styles
-
Summary
-
-
Appendix A Property Reference
-
Visual Media
-
Tables
-
Paged Media
-
Dropped from CSS2.1
-
Visual Styles
-
Paged Media
-
Aural Styles
-
-
Appendix B Selector, Pseudo-Class, and Pseudo-Element Reference
-
Selectors
-
Pseudo-Classes and Pseudo-Elements
-
-
Appendix C Sample HTML 4 Style Sheet
-
Colophon

- Title:
- CSS: The Definitive Guide, Third Edition
- By:
- Eric A. Meyer
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- November 2006
- Ebook Release:
- June 2009
- Pages:
- 544
- Print ISBN:
- 978-0-596-52733-4
- | ISBN 10:
- 0-596-52733-0
- Ebook ISBN:
- 978-0-596-15940-5
- | ISBN 10:
- 0-596-15940-4
-
Eric A. Meyer
Eric A. Meyer has been working with the Web since late 1993 and is an internationally recognized expert on the subjects of HTML, CSS, and web standards. A widely read author, he is also the founder of Complex Spiral Consulting (www.complexspiral.com), which counts among its clients America Online; Apple Computer, Inc.; Wells Fargo Bank; and Macromedia, which described Eric as "a critical partner in our efforts to transform Macromedia Dreamweaver MX 2004 into a revolutionary tool for CSS-based design." Beginning in early 1994, Eric was the visual designer and campus web coordinator for the Case Western Reserve University web site, where he also authored a widely acclaimed series of three HTML tutorials and was Project Coordinator for the online version of the Encyclopedia of Cleveland History and the Dictionary of Cleveland Biography, the first encyclopedia of urban history published fully and freely on the Web. Author of Eric Meyer on CSS and More Eric Meyer on CSS (New Riders), Cascading Style Sheets: The Definitive Guide (O'Reilly), and CSS2.0 Programmer's Reference (Osborne/McGraw-Hill), as well as numerous articles for the O'Reilly Network, Web Techniques, and Web Review, Eric also created the CSS Browser Compatibility Charts and coordinated the authoring and creation of the W3C's official CSS Test Suite. He has lectured to a wide variety of organizations, including Los Alamos National Laboratory, the New York Public Library, Cornell University, and the University of Northern Iowa. Eric has also delivered addresses and technical presentations at numerous conferences, among them An Event Apart (which he cofounded), the IW3C2 WWW series, Web Design World, CMP, SXSW, the User Interface conference series, and The Other Dreamweaver Conference. In his personal time, Eric acts as List Chaperone of the highly active css-discuss mailing list (www.css-discuss.org), which he cofounded with John Allsopp of Western Civilisation and which is now supported by evolt.org. Eric lives in Cleveland, Ohio, which is a much nicer city than you've been led to believe. For nine years, he was the host of "Your Father's Oldsmobile," a Big Band-era radio show heard weekly on WRUW 91.1 FM in Cleveland. You can find more detailed information on Eric's personal web page at https://www.meyerweb.com/eric.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects.
The animals on the cover of CSS: The Definitive Guide, Third Edition are salmon (salmonidae), which is a family of fish consisting of many different species. Two of the most common salmon are the Pacific salmon and the Atlantic salmon.
Pacific salmon live in the northern Pacific Ocean off the coasts of North America and Asia. There are five subspecies of Pacific salmon, with an average weight of 10 to 30 pounds. Pacific salmon are born in the fall in freshwater stream gravel beds, where they incubate through the winter and emerge as inch-long fish. They live for a year or two in streams or lakes and then head downstream to the ocean. There they live for a few years, before heading back upstream to their exact place of birth to spawn and then die.
Atlantic salmon live in the northern Atlantic Ocean off the coasts of North America and Europe. There are many subspecies of Atlantic salmon, including the trout and the char. Their average weight is 10 to 20 pounds. The Atlantic salmon family has a life cycle similar to that of its Pacific cousins, and also travels from freshwater gravel beds to the sea. A major difference between the two, however, is that the Atlantic salmon does not die after spawning; it can return to the ocean and then return to the stream to spawn again, usually two or three times.
Salmon, in general, are graceful, silver-colored fish with spots on their backs and fins. Their diet consists of plankton, insect larvae, shrimp, and smaller fish. Their unusually keen sense of smell is thought to help them navigate from the ocean back to the exact spot of their birth, upstream past many obstacles. Some species of salmon remain landlocked, living their entire lives in freshwater.
Salmon are an important part of the ecosystem, as their decaying bodies provide fertilizer for streambeds. Their numbers have been dwindling over the years, however. Factors in the declining salmon population include habitat destruction, fishing, dams that block spawning paths, acid rain, droughts, floods, and pollution.
The cover image is a 19th-century engraving from the Dover Pictorial Archive. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed.The production editors for CSS: The Definitive Guide, eMatter Edition were Ellie Cutler and Jeff Liggett. Linda Walsh was the product manager. Kathleen Wilson provided design support. Lenny Muellner, Mike Sierra, Erik Ray, and Benn Salter provided technical support. This eMatter Edition was produced with FrameMaker 5.5.6.
![]() ©2009, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone O'Reilly FYI makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |