Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- CSS Reset with Normalize 5:24
- Creating a Layout Wrapper 3:27
- Why Vertical Margins Collapse 3:42
- Centering Page Content and Creating a Full-width Header 4:48
- Layout Wrapper Challenge 2 objectives
- Using a Mobile First Approach 6:21
- Creating a Sticky Footer 5:07
- Getting Started with CSS Layout Review 6 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
A common layout structure in web design involves a centered content area with a header and footer that take up the full width of the page.
Video review
- Depending on your design, you may want the header and footer in your layout to stretch from edge to edge of the browser so the left and right sides won't appear cut off.
- This approach makes the layout feel open and less constrained.
- One approach is to create a wrapper the main content and an inner wrapper for the content inside the header and footer.
- You can leave 'outer' elements like the header and footer at their default 100% width.
- It's common to have more than one wrapper on a page and even to have containers inside of containers.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Isabelle Johnson
5,502 Points1 Answer
-
Tom Hebbert
3,472 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up