Book Details:
By: David Sawyer McFarland
Publisher: O'Reilly Media / Pogue Press
Print: August 2009
Ebook: August 2009
Pages: 560
Print ISBN: 978-0-596-80244-8| ISBN 10:0-596-80244-7
Ebook ISBN: 978-0-596-80569-2| ISBN 10:0-596-80569-1
About the Book
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
CSS Basics
Chapter 1 : Rethinking HTML for CSS
HTML: Past and Present
Writing HTML for CSS
The Importance of the Doctype
Getting the Most out of Internet Explorer 8
Chapter 2 : Creating Styles and Style Sheets
Anatomy of a Style
Understanding Style Sheets
Internal Style Sheets
External Style Sheets
Tutorial: Creating Your First Styles
Chapter 3 : Selectors: Identifying What to Style
Tag Selectors: Page-Wide Styling
Class Selectors: Pinpoint Control
ID Selectors: Specific Page Elements
Styling Groups of Tags
Styling Tags Within Tags
Pseudo-Classes and Pseudo-Elements
Advanced Selectors
Tutorial: Selector Sampler
Chapter 4 : Saving Time with Style Inheritance
What Is Inheritance?
How Inheritance Streamlines Style Sheets
The Limits of Inheritance
Tutorial: Inheritance
Chapter 5 : Managing Multiple Styles: The Cascade
How Styles Cascade
Specificity: Which Style Wins
Controlling the Cascade
Tutorial: The Cascade in Action
Applied CSS
Chapter 6 : Formatting Text
Formatting Text
Changing Font Size
Formatting Words and Letters
Formatting Entire Paragraphs
Styling Lists
Tutorial: Text Formatting in Action
Chapter 7 : Margins, Padding, and Borders
Understanding the Box Model
Control Space with Margins and Padding
Adding Borders
Coloring the Background
Determining Height and Width
Wrap Content with Floating Elements
Tutorial: Margins, Backgrounds, and Borders
Chapter 8 : Adding Graphics to Web Pages
CSS and the <img> Tag
Background Images
Controlling Repetition
Positioning a Background Image
Using Background Property Shorthand
Tutorial: Enhancing Images
Tutorial: Creating a Photo Gallery
Tutorial: Using Background Images
Chapter 9 : Sprucing Up Your Site's Navigation
Selecting Which Links to Style
Styling Links
Building Navigation Bars
Advanced Link Techniques
Tutorial: Styling Links
Tutorial: Creating a Navigation Bar
Chapter 10 : Formatting Tables and Forms
Using Tables the Right Way
Styling Tables
Styling Forms
Tutorial: Styling a Table
Tutorial: Styling a Form
CSS Page Layout
Chapter 11 : Introducing CSS Layout
Types of Web Page Layouts
How CSS Layout Works
Layout Strategies
Chapter 12 : Building Float-Based Layouts
Applying Floats to Your Layouts
Overcoming Float Problems
Handling Internet Explorer 6 Bugs
Tutorial: Multiple-Column Layouts
Tutorial: Negative Margin Layout
Chapter 13 : Positioning Elements on a Web Page
How Positioning Properties Work
Powerful Positioning Strategies
Tutorial: Positioning Page Elements
Advanced CSS
Chapter 14 : CSS for the Printed Page
How Media Style Sheets Work
How to Add Media Style Sheets
Creating Print Style Sheets
Tutorial: Building a Print Style Sheet
Chapter 15 : Improving Your CSS Habits
Adding Comments
Organizing Styles and Style Sheets
Eliminating Browser Style Interference
Using Descendent Selectors
Managing Internet Explorer Hacks
Chapter 16 : CSS 3: CSS on the Edge
An Overview of CSS 3
CSS 3 Selectors
Opacity
RGBA Color
Text Shadow
Font Freedom
Generated Content
Appendixes
Appendix : CSS Property Reference
CSS Values
Text Properties
List Properties
Padding, Borders, and Margins
Backgrounds
Page Layout Properties
Table Properties
Miscellaneous Properties
Appendix : CSS in Dreamweaver CS4
Creating Styles
Adding Styles to Web Pages
Editing Styles
Managing Styles
Examining Your CSS in the Styles Panel
Using the Code Navigator
Appendix : CSS Resources
References
CSS Help
CSS Tips, Tricks, and Advice
CSS Navigation
CSS and Graphics
CSS Layout
Browser Bugs
Showcase Sites
CSS Books
CSS Software
Colophon
About the Author
David Sawyer McFarland is president of Sawyer McFarland Media, Inc., a Web development and training company in Portland, Oregon. He's been building websites since 1995, when he designed an online magazine for communication professionals. He's served as webmaster at the University of California at Berkeley and the Berkeley Multimedia Research Center, and oversaw a complete CSS-driven redesign of Macworld.com. David is also a writer, trainer, and teaches in the Portland State University multimedia program. He wrote the bestselling Missing Manual titles on Adobe Dreamweaver, CSS, and JavaScript.
Download
No comments:
Post a Comment