Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Yeshaya Coffman
Full Stack JavaScript Techdegree Graduate 22,885 PointsStill having a whitespace on top of the header
after coding: header { float: left; margin: 0 0 30px 0; padding: 5px 0 0 0; width: 100%; } I still have a whitespace on top of the header I don't understand what I'm doing wrong
3 Answers

Trevor Austin
8,153 Pointsit looks like you are adding a padding-top of 5px.
Remember: top, right, bottom, left (OR top-left, top-right, bottom-right, bottom-left)

Yeshaya Coffman
Full Stack JavaScript Techdegree Graduate 22,885 PointsIn the video they have also 5px padding and putting it at 0 doesn't take away the whitespace only if I remove the float: left; does the space go away

Yeshaya Coffman
Full Stack JavaScript Techdegree Graduate 22,885 PointsI had written ss after a css rule for the footer I don't know what that did :| after I erased that everything went back to normal
Diego Murray
2,515 PointsDiego Murray
2,515 PointsI'm having the same problem. The padding-top of 5px isn't the problem. Even when I set it to 0px the white gap is still there. Is there any way to set the background color of my header to reach the top of the page?