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.

The Hound
Courses Plus Student 162 PointsAm I missing something
First code challenge CSS layouts. Off the bat, add padding to .main-header
I thought it would be
.main-header {
padding-left : 5px;
padding-right : 5px;
}
That doesn't seem to work.
2 Answers

James Barnett
39,199 PointsI noticed you are new to Treehouse, if you are also new CSS then you probably take the CSS Foundations before the CSS Layout Techniques course.
You might also want to check out the Web Design Track

Trent Burkenpas
22,388 Pointsyou want to add padding to all of .main-header. you are only adding it to left and right.
.main-header {
padding: 5px;
}
This will adding padding all around the element