Book description
Pro CSS and HTML Design Patterns is a reference book and a cookbook on how to style web pages using CSS and XHTML. It contains 350 ready–to–use patterns (CSS and XHTML code snippets) you can copy and paste into your code. Each pattern can be combined with other patterns to create an unlimited number of solutions.
Each pattern works reliably in all major browsers without the need for browser hacks.
The book's layout, with a pattern's example on the left page and its explanation on the right, makes it easy to find a pattern and study it without having to flip between pages. The book is also readable from cover to cover, with topics building carefully upon previous topics.
A software developer can use this book to learn CSS for the first time. A designer familiar with CSS can use this book to master CSS and XHTML. If you are completely new to coding or completely new to CSS and XHTML, you may want to read an introductory book on CSS and XHTML first.
You can interact with all the examples in the book at www.cssDesignPatterns.com.
Table of contents
- Title Page
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
-
CHAPTER 1: Design Patterns: Making CSS Easy!
- Design Patterns—Structured Recipes
- Using Design Patterns
- Using Stylesheets
- CSS Syntax
- Using Cascade Order
- Simplifying the Cascade
- CSS and HTML Links
- CSS Properties
- CSS Properties and Values: Common
- CSS Properties and Values: Content
- CSS Properties and Values: Layout
- CSS Properties and Values: Specialized
- Selectors
- Flexible Units of Measure
- Fixed Units of Measure
- Ratios Between Units of Measure at 96 dpi
- Typical font-size Values at 96 dpi
- Troubleshooting CSS
- Normalized Stylesheet
- CHAPTER 2: HTML Design Patterns
- CHAPTER 3: CSS Selectors and Inheritance
- CHAPTER 4: Box Models
- CHAPTER 5: Box Model Extents
- CHAPTER 6: Box Model Properties
- CHAPTER 7: Positioning Models
- CHAPTER 8: Positioning: Indented, Offset, and Aligned
- CHAPTER 9: Positioning: Advanced
- CHAPTER 10: Styling Text
- CHAPTER 11: Spacing Content
- CHAPTER 12: Aligning Content
- CHAPTER 13: Blocks
- CHAPTER 14: Images
- CHAPTER 15: Tables
-
CHAPTER 16: Column Layout
- Table Layout Models
- Using Column Layouts
- Chapter Outline
- Column Width
- Shrinkwrapped Columns
- Sized Columns
- Content-proportioned Columns
- Size-proportioned Columns
- Percentage-proportioned Columns
- Inverse-proportioned Columns
- Equal Content-sized Columns
- Equal-sized Columns
- Undersized Columns
- Flex Columns
- Mixed Column Layouts
- CHAPTER 17: Layouts
- CHAPTER 18: Drop Caps
- CHAPTER 19: Callouts and Quotes
- CHAPTER 20: Alerts
- Index
Product information
- Title: Pro CSS and HTML Design Patterns
- Author(s):
- Release date: April 2007
- Publisher(s): Apress
- ISBN: 9781590598047
You might also like
video
CSS in JavaScript
Bring your style to the component age, just like JavaScript! Components are the fundamental building block …
book
Architecting CSS: The Programmer’s Guide to Effective Style Sheets
Leverage various CSS features in combination with popular architectures in order to bring your style sheets …
book
Modern JavaScript Web Development Cookbook
Over 90 recipes to help you write clean code, solve common JavaScript problems, and work on …
book
CSS Cookbook, 3rd Edition
Learn how to solve the real problems you face with CSS. This cookbook offers hundreds of …