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 trialPatrick Ryan
2,351 PointsTrouble with Header Margin
All,
I'm having trouble eliminating the white band above the header on my personal page. I'm using the code Nick describes. ''' header { float: left; margin: 0 0 30px 0; padding: 5px 0 0 0; width: 100%; } '''
The band still appears. I have nobody else to ask. Could somebody help me?
Thanks, Patrick Ryan
3 Answers
mariemichlegodin
1,391 Pointsnotf0und
11,940 PointsTry
body {
top: 0px;
}
Usually a CSS Reset would fix this issue, though I don't even know why it's standard. Hope this helps.
William Densmore
6,402 PointsThis did not work for me
William Densmore
6,402 PointsWilliam Densmore
6,402 PointsI am having the same problem.