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 trialMichele Valdez
1,598 PointsHi! 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!
4 Answers
Yaroslav Kleshchev
8,744 Pointstry: *{ margin: 0; }. This will remove all the margin.
John Steer-Fowler
Courses Plus Student 11,734 PointsHi 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
1,598 PointsThanks! 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.
John Steer-Fowler
Courses Plus Student 11,734 PointsNice one :D Glad you got it sorted.
Keep up the good work
Michele Valdez
1,598 PointsThanks to both of your for the quick response!
Sam Baines
4,315 PointsSam Baines
4,315 PointsHi 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.