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

HTML

How to remove white spaces next to header?

2 Answers

These look like they could be default browser styles. Have you tried including a CSS reset, like normalize.css? I might give that a try first.

Here is Google's CDN for normalize.css. You could also try a different one.

I hope that helps! I have encountered this kind of problem before, as well, and using a CSS reset file helped. It's easier than looking through all of the default browser styles and changing them in your own custom CSS.

Thanks for the quick reply!