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 Treehouse Club: CSS My First Web Page Introduction to My First Web Page

Spacing Between Sections

If I think there is too much space between the first section and the second section, how to I reduce the amount of space between them? When I try editing the for size and the line height, it is paragraph specific. I'm attempting to reduce the space between my two h4 sections. Thanks!

Justin Warren
Justin Warren
7,805 Points

At first glance you may want to change the padding. Feel free to post your code because that would be helpful in taking a look!

https://www.w3schools.com/csS/css_padding.asp https://www.w3schools.com/csS/css_margin.asp https://www.w3schools.com/csS/css_border.asp

Some info on padding, margin and borders!