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 trial

CSS How to Make a Website Adding Pages to a Website Add a New Page

Text margin on About and Contact Pages

I noticed that Nick's text below the photo is inset from the edge of the browser window, whereas my text is slammed right against the edge with 0 margin. why does mine look different?

3 Answers

If you're referring to the About text on the About page, its because he has padding on his #wrapper container div.

#wrapper { padding: 0 5%; }

Its the 5% in particular that adds a scaling padding to the left and right siides of his content wrapper.

Without seeing the code. I would check to see that your HTML is structured correctly and see if your css matches that of the projects downloadable files.

ah, you led me back to a syntax error I made days ago. Thanks so much!

You're welcome.