C H A P T E R  9

Positioning: Advanced

This is the third of three chapters on positioning. It combines the positioning techniques of the previous 2 chapters into 12 design patterns that align and offset static and positioned elements to the left, center, right, top, middle, or bottom of their container while stretching, sizing, or shrinkwrapping them. This chapter focuses on static and absolute positioned elements.

This chapter combines design patterns from Chapter 8 to align and offset elements from their containers. It also introduces new patterns to align and offset elements from the top, middle, and bottom of their containers. If you aren't already familiar with the design patterns in Chapters 58, you may want to review them. Because aligning ...

Get Pro HTML5 and CSS3 Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.