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 Build the Contact Page

Michele Valdez
Michele Valdez
1,598 Points

Hi! I have a margin question.

My text is butting up against the windows in the browser, unlike the examples which have some white space. I also have the same problem with the photo of me bumping up against the top of the window in the contact page. I'm trying to see if the margins were set somewhere in main.css for all of the elements in general, but I don't see it. Did I miss a step?

Thanks!

Sam Baines
Sam Baines
4,315 Points

Hi Michele - if you post your code (html & css) using the markdown cheatsheet instructions we can help you out more specifically with what you have written so far. Normally the margin & padding is only set in main.css during the course but everything would be normalized in the normalize.css file that is linked also. So post your code and I'll see if I can help.

4 Answers

try: *{ margin: 0; }. This will remove all the margin.

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Hi Michele,

Would you be able to take a snapshot of your Workspace and link it on here?

I will take a look for you.

Michele Valdez
Michele Valdez
1,598 Points

Thanks! I just downloaded the main.css file and compared it to mine and saw that I didn't have the padding set for the wrapper. All good now.

Michele Valdez
Michele Valdez
1,598 Points

Thanks to both of your for the quick response!