Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialErika Johnston
Front End Web Development Techdegree Student 3,166 PointsMy code looks the same as the video but isn't repeating the same view in the browser.
I can't figure out why the main content is still the same width as the header and footer.
body { line-height: 1.6; color: #3a3a3a; }
a { color: #fff; text-decoration: none; }
/* ================================= Base Layout Styles ==================================== */
/* ---- Navigation ---- */
.name { margin: 0; }
/* ---- Layout Containers ---- */
.containter { width: 70%; margin: 0 auto; }
.main-header { background: #3acec2; padding: 1em 0; }
.main-footer { text-align: center; padding: 2em 0; background: #d9e4ea; }
1 Answer
David Bloomfield
11,622 PointsI cant see the HTML but .container is spelled incorrectly in your CSS as .containter
Could this be the issue?
Thanks David