Flexible Web Design
Creating Liquid and Elastic Layouts with CSS
Table of Contents
Understanding Flexible Layouts
- Types of Layouts
- Challenges of Liquid and Elastic Layouts
- Choosing the Right Layout Type for Your Page
How to Design Flexible Layouts
- Design Principles for Flexible Layouts
- Before and After: Our Non-compatible Design, Fixed
Preparing Your Design for Construction
- Setting up Your Graphic Comp
- Slicing Graphics for Flexible Design
- Site-Building Exercise: Preparing the Beechwood Animal Shelter Comp for Construction
Building Liquid Layout Structures
- Preparing the Page for CSS Layout
- Creating Liquid Columns Using Floats
- Keeping the Layout from Spanning the Whole Viewport
- Site-Building Exercise: Creating the Shelter’s Inner-page Layout Structure
Building Elastic Layout Structures
- Switching Dimensions to Ems
- Creating Elastic Columns Using Floats
- Site-Building Exercise: Creating the Shelter’s Home Page Layout Structure
Putting Limits on Flexibility
- Building Hybrid Layouts
- Adding Minimum and Maximum Widths
- Alternative Ways to Limit Flexibility
- Site Building Exercise: Limiting the Flexibility of the Shelter’s Pages
Creating Spacing for Text
- Matching Units of Measurement
- Mixing Units of Measurement
- Site Building Exercise: Adding Spacing to the Home and Inner Pages
Adding Background Images and Color
- Blending Background Images
- Creating the Appearance of Equal-height Columns
- Site Building Exercise: Adding Backgrounds to the Home and Inner Pages
Creating Flexible Images
- Dynamically Changing Images’ Screen Area
- Creating Flexible Collections of Images
- Site-Building Exercise: Adding Flexible Images to the Home Page