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 trialCaroline Jin
970 PointsThe gap on the top is still there
Wanted to delete the gap on the top as video instructed, but the gap on top of the header stayed the same.
HTML { float: left; margin: 0 0 30px 0; padding:5px 0 0 0; width:100%; }
1 Answer
kkswecpsyl
8,155 PointsHard to say without seeing all the code, but it could just be the 5px padding like Jonell said.
Jonell Alvi
4,259 PointsJonell Alvi
4,259 PointsHi Caroline,
You have 5px of padding on top there, perhaps that is what is causing the gap?
Or perhaps you should check the styles on the header element?
~Jonell