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 trial

CSS How to Make a Website Styling Web Pages and Navigation Build Navigation with Unordered Lists

adrian price
adrian price
2,187 Points

when Nick added header content eg. float: left; etc, the white at the top disappeared. On my webpage its still there.

I still have a white line at the very top of the webpage.

Hi Adrian!! You will need to load the code you have written. For snippets hit the backtick 3 times ``` (left to the numeral 1, with the ~ as the shift option) and surround your code. I never did codepen thing, but watching the "how to ask a Question" is not a bad thing!!! I'm on my fourth viewing! Bon Voyage, right? I'm on the same boat!.

David Klaver
David Klaver
10,649 Points

Hi! Adding this code to the top of your CSS might help (though without seeing your code, I can't be sure):

  • { margin: 0; }

This resets any default margins many elements have to 0. Hope it works, and good luck!