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 Make a Website Customizing Colors and Fonts Pick Fonts and Set Relative Units

Teacher Russell
Teacher Russell
16,873 Points

margin top?

I was just wondering exactly why did you choose to add the 15px margin to the top of the h1 element? I still have some trouble seeing the significance of margin and padding sometimes.

1 Answer

Kyle Johnson
Kyle Johnson
33,528 Points

Hi!

I found this solution to a similar post.

Margin vs. padding

Teacher Russell
Teacher Russell
16,873 Points

You were my only response. It led to some good places...lots of info. Should help. Thanks!