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 trialGeorge Lavoie
2,280 PointsWhat CSS code creates space between the 3rd level heading "General Info" on the contact page and the nav selections?
"General Info" is placed right up against the nav elements and I need to create space. The same thing needs to happen with my profile picture on the about page.
1 Answer
Wayne Priestley
19,579 PointsHi George,
You could use,
.general-info {
margin-top: ?;
/* OR*/
padding-top: ?;
}
.profile-photo {
margin-top: ?;
/* OR*/
padding-top: ?;
}
/* OR*/
.navigation { /* or whatever the class name is */
margin-bottom: ?;
}
Hope this helps.