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!

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


Shloime Kahan
Shloime Kahan
4,943 Points

H1 and H2 too far apart

Hi I am trying to get the h2 closer to the H1.

Any ideas?

2 Answers

You should post your code here so we can help you out better. But usually the heading elements have a margin by default. Play around woth the margin properties in css for h1 or h2, it might help ?