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.
Additional padding/ margin can't work it out!
Hello I have additional padding/ margin above the header area but I can't figure out where it's coming from. I don't think I can attach a screenshot here but basically there's a block of body colour, then the header area, then the body colour again. I don't know why the body is appearing at the top of the page above the header. Does it make sense? Here's a link to my codepen: http://cdpn.io/ycGvl Thanks :)
In your CSS element body you have margin-top: 50px; that might just be your problem. :)
thank you, that worked.