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. Tap into the real power of this tool with CSS: The Missing Manual. This second edition combines crystal-clear explanations, real-world examples, and step-by-step tutorials to help you build new websites with CSS, 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
Product Details
- Title:
- CSS: The Missing Manual, Second Edition
- By:
- David Sawyer McFarland
- Publisher:
- O'Reilly Media / Pogue Press
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- August 2009
- Ebook Release:
- 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
Customer Reviews




