Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!