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.

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!