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

Why is there a thin white line at the top of my about page?

I can't find the problem.

workspace {

https://w.trhou.se/7mn6junvsu }

Is your normalize.css/reset.css linked to the <header> tag on that page?

Steven Parker
Steven Parker
243,656 Points

To share your workspace, make a snapshot of it (use the icon that looks vaguely like a camera). Then post the the snapshot link.

1 Answer

Steven Parker
Steven Parker
243,656 Points

The HEADER element is floated but never cleared, so the #WRAPPER DIV overlaps it. This isn't noticed on the index or contact pages because the sections in them are also floated. But on the about page the section is not floated, and one of the elements inside it has a top margin which creates the gap.

:point_right: You can eliminate the gap by either adding a clear:both to the #WRAPPER rule, or by floating the SECTION in the about page.

Thanks!