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 trialWilliam Reyes
1,015 PointsWhite space only at the top of the "contact" page
I'm trying to figure out how to solve this problem, the "contact" page has a white space at the top and the other pages not.
3 Answers
geoffrey
28,736 PointsOk, I've looked quickly at it with the webdeveloper tool and it seems there are some unneeded margin applied to body and h3 causing your issue.
If you apply these rules:
body,h3{
margin:0;
}
This is going to work, there 'll be no gap, but If I were you I would look further, It's odd to have that issue on this particular page and not the others, but that might indeed be the case if you added some styles to this page only.
geoffrey
28,736 PointsHi William, I would be glad to help you, but that's going to be tricky without any code to look at, would you mind sharing a link to your workspace ? if you build this project with this one.
William Reyes
1,015 PointsThank you!
William Reyes
1,015 PointsWilliam Reyes
1,015 PointsHTML
CSS