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 trialSahan Balasuriya
10,115 Pointsbuilding the contact page
when ever i make any changes to anything inside the <section> the green header moves down and leaves a blank white gap like it was way before. someone please tell me whats going on?
4 Answers
Dean jenkins
5,230 PointsPut a class="header" and .header {margin:0; padding:0;} hope that help
Nemanja Pribilovic
5,366 Pointsi think you need to remove margin from your h elements if you have any h1 or h3
Sahan Balasuriya
10,115 Pointsbut nick had it in his css had i fallowed it exactly
thomascawthorn
22,986 PointsAnother check is to make sure you've closed all your html tags..
I'm not sure it's browser dependent but in firefox, the source will show incorrectly closed tags in red.
To view the source, right click on the web page and select view source.