Book description
Proving once and for all that standards-compliant design does not equal dull design, this inspiring tome uses examples from the landmark CSS Zen Garden site as the foundation for discussions on how to create beautiful, progressive CSS-based Web sites. By using the Zen Garden sites as examples of how CSS design techniques and approaches can be applied to specific Web challenges, authors Dave Shea and Molly Holzschlag provide an eye-opening look at the range of design methods made possible by CSS (Cascading Style Sheets). By the time you've finished perusing the volume, you'll have a new understanding of the graphically rich, fully accessible sites that CSS design facilitates. In sections on design, layout, imagery, typography, effects, and themes, Dave and Molly take you through every phase of the design process--from striking a sensible balance between text and graphics to creating eye-popping special effects (no scripting required).
Table of contents
- Copyright
- Acknowledgments
- About the Authors
- Introduction
-
1. View Source
-
View Source
- Genesis
- The Beginning of a Change
- Why these Standards?
- Planting the Seed
- Default Design—Tranquille
- Implications
- Laying the Foundation
- Semantic Markup
- Building Great Markup
- The Test of Time
- Zen Garden Source HTML
- Visual Structure
- Designing For Flexibility
- Lessons Taught
- Benefits of Web Standards
- Lessons Learned
- Accessibility Checking
- Text Scalability
- XHTML and Mime Types
- Foreign Languages
- Copyright and Theft
- Build it Bigger, Build it Better!
-
View Source
- 2. Design
- 3. Layout
- 4. Imagery
- 5. Typography
- 6. Special Effects
- 7. Reconstruction
-
Closing Thoughts
-
CSS Crib Sheet
- When in doubt, validate
- Build and test your CSS in the most advanced browser available before testing in others, not after
- When relying on floats for layouts, make sure they clear properly.
- Margins collapse; apply padding or a border to avoid
- Try to avoid applying padding/borders and a specific width or height to an element
- Avoid the “Flash of Unstyled Content” in Internet Explorer 6 for Windows
- Don’t rely on min-width/min-height
- When in doubt, decrease percentage values
- Content not showing up properly in Internet Explorer?
- Make sure your desired effect actually exists
- Remember “LoVe/HAte” linking
- Remember “TRouBLed” shorthand
- Specify units for non-zero values
- Test different font sizes
- Match cases between your HTML and CSS
- Test embedded; launch imported
- Add obvious borders to help debug layouts
- Don’t use single quotation marks around paths for images
- Be careful when styling links if you’re using anchors
- Don’t link to empty style sheets as “placeholders” for future style sheets (like handheld or print media style sheets)
- Understand the Problem
- Other Resources
- CSS Design Web Sites
- Publications
- Books
- Submit Your Own!
-
CSS Crib Sheet
Product information
- Title: The Zen of CSS Design: Visual Enlightenment for the Web
- Author(s):
- Release date: February 2005
- Publisher(s): Peachpit Press
- ISBN: 9780321303479
You might also like
book
The New CSS Layout
CSS Grid Layout will transform the way you design and develop for the web—and Rachel Andrew …
book
Eric Meyer on CSS: Mastering the Language of Web Design
There are several other books on the market that serve as in-depth technical guides or reference …
book
Cascading Style Sheets: Designing for the Web, Third Edition
In this updated edition to their original best-selling classic, the co-creators of CSS clearly, logically, and …
book
The Principles of Beautiful Web Design, 4th Edition
The Principles of Beautiful Web Design is the ideal book for anyone who wants to design …