Book description
Cascading Style Sheets can turn humdrum websites into highly-functional, professional-looking destinations, but many designers merely treat CSS as window-dressing to spruce up their site's appearance. You can tap into the real power of this tool with CSS: The Missing Manual. This second edition combines crystal-clear explanations, real-world examples, and dozens of step-by-step tutorials to show you how to design sites with CSS that work consistently across browsers. Witty and entertaining, this second edition gives you up-to-the-minute pro techniques. You'll learn how to:
- Create HTML that's simpler, uses less code, is search-engine friendly, and works well with CSS
- Style text by changing fonts, colors, font sizes, and adding borders
- Turn simple HTML links into complex and attractive navigation bars -- complete with rollover effects
- Create effective photo galleries and special effects, including drop shadows
- Get up to speed on CSS 3 properties that work in the latest browser versions
- Build complex layouts using CSS, including multi-column designs
- Style web pages for printing
With CSS: The Missing Manual, Second Edition, you'll find all-new online tutorial pages, expanded CSS 3 coverage, and broad support for Firebox, Safari, and other major web browsers, including Internet Explorer 8. Learn how to use CSS effectively to build new websites, or refurbish old sites that are due for an upgrade.
Table of contents
- A Note Regarding Supplemental Files
- The Missing Credits
- Introduction
-
I. CSS Basics
- 1. Rethinking HTML for CSS
- 2. Creating Styles and Style Sheets
- 3. Selectors: Identifying What to Style
- 4. Saving Time with Style Inheritance
- 5. Managing Multiple Styles: The Cascade
-
II. Applied CSS
- 6. Formatting Text
- 7. Margins, Padding, and Borders
- 8. Adding Graphics to Web Pages
- 9. Sprucing Up Your Site’s Navigation
- 10. Formatting Tables and Forms
-
III. CSS Page Layout
- 11. Introducing CSS Layout
- 12. Building Float-Based Layouts
- 13. Positioning Elements on a Web Page
-
IV. Advanced CSS
- 14. CSS for the Printed Page
- 15. Improving Your CSS Habits
- 16. CSS 3: CSS on the Edge
-
V. Appendixes
-
A. CSS Property Reference
- CSS Values
-
Text Properties
- color (inherited)
- font (inherited)
- font-family (inherited)
- font-size (inherited)
- font-style (inherited)
- font-variant (inherited)
- font-weight (inherited)
- letter-spacing (inherited)
- line-height (inherited)
- text-align (inherited)
- text-decoration
- text-indent (inherited)
- text-transform (inherited)
- vertical-align
- white-space
- word-spacing (inherited)
- List Properties
-
Padding, Borders, and Margins
- border
- border-top, border-right, border-bottom, border-left
- border-color
- border-top-color, border-right-color, border-bottom-color, border-left-color
- border-style
- border-top-style, border-right-style, border-bottom-style, border-left-style
- border-width
- border-top-width, border-right-width, border-bottom-width, border-left-width
- outline
- outline-color
- outline-style
- outline-width
- padding
- padding-top
- padding-right
- padding-bottom
- padding-left
- margin
- margin-top
- margin-right
- margin-bottom
- margin-left
- Backgrounds
- Page Layout Properties
- Table Properties
- Miscellaneous Properties
- B. CSS in Dreamweaver CS4
- C. CSS Resources
-
A. CSS Property Reference
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: CSS: The Missing Manual, 2nd Edition
- Author(s):
- Release date: August 2009
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596802448
You might also like
book
Surviving the Whiteboard Interview: A Developer’s Guide to Using Soft Skills to Get Hired
The industry standard whiteboard interview can be daunting for developers. Let’s face it: it combines the …
book
Mind Performance Hacks
You're smart. This book can make you smarter.Mind Performance Hacks provides real-life tips and tools for …
book
Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition
Updated and Expanded for Python 3 It’s easy to start developing programs with Python, which is …
book
Design for How People Think
User experience doesn’t happen on a screen; it happens in the mind, and the experience is …