Publisher: O'Reilly Media
Final Release Date: March 2004
Pages: 528
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.
|
-
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 Property Reference -
Visual Media -
Tables -
Paged Media -
Dropped from CSS2.1 -
Visual Styles -
Paged Media -
Aural Styles -
Appendix Selector, Pseudo-Class, and Pseudo-Element Reference -
Selectors -
Pseudo-Classes and Pseudo-Elements -
Appendix Sample HTML 4 Style Sheet -
Colophon |
- Title:
- Cascading Style Sheets: The Definitive Guide, 2nd Edition
- By:
- Eric A. Meyer
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Safari Books Online
- Print:
- March 2004
- Pages:
- 528
- Print ISBN:
- 978-0-596-00525-2
- | ISBN 10:
- 0-596-00525-3
|
-
Eric A. Meyer 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. View Eric A. Meyer's full profile page. |
Colophon 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 Cascading Style Sheets: The Definitive Guide, Second 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 ten to thirty 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 ten to twenty pounds. The Atlantic salmon family has a similar life cycle to its Pacific cousins, 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 be what helps 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. Marlowe Shaeffer was the production editor and copyeditor for Cascading Style Sheets: The Definitive Guide, Second Edition. Matt Hutchinson was the proofreader. Reg Aubry and Claire Cloutier provided quality control. Angela Howard wrote the index.Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.David Futato designed the interior layout. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XMLtechnologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Nicole Arigo. |
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Christopher Schmitt
August 2004
By Richard Monson-Haefel
September 2001
By Tim Bunce, Alligator Descartes
February 2000
Ebook:
$31.99
Print & Ebook:
$43.99
Print:
$39.99
|
Customer Reviews
1/27/2010 (1 of 2 customers found this review helpful) By ScottGH from Birmingham, AL - Easy to understand
- Helpful examples
- Well-written
- Intermediate
- Novice
- Student
1/20/2008 (0 of 2 customers found this review helpful) By Thomas Garrod from Undisclosed 10/15/2007 (0 of 2 customers found this review helpful) 2.0Extremely frustrating! By Anonymous from Undisclosed 5/4/2007 (1 of 1 customers found this review helpful) 5.0Another great from Meyer By Anonymous from Undisclosed 9/18/2006 (1 of 1 customers found this review helpful) By David Lisle from Undisclosed 5/26/2005 (1 of 1 customers found this review helpful) 5.0CSS: Definitive Guide (2) By Ferraridude from Undisclosed 10/11/2004 (1 of 1 customers found this review helpful) 4.0Good Coverage - some more Example would be great! By Matthias Vogel from Undisclosed 8/19/2004 (1 of 1 customers found this review helpful)
|
|
|