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 trialja5on
10,338 PointsTreehouse staff needed here please, margin-bottom and font-size are two seperate items.
margin-bottom and font-size are two seperate items
h2 { font-size: 3.3125em; /* 53px/16px / font-weight: normal; line-height: 1.1; margin-bottom: 0.5em; / 26px */ } so why in the video is he trying to use these together. What on earth does margin bottom have to do with font size? I think there should be a video just on these problems in depth with alot of examples.
I'm asking for treehouse staff please.
2 Answers
ja5on
10,338 PointsThank you Blake Larson for your advice however my original post is from CSS Basics, The Box Model, Margins video the the code is exact from the teacher (his own workings). This is why i need a treehouse staff to answer. I have requested help from support staff also.
Blake Larson
13,014 PointsSo it's not as much a question as it is a course suggestion?
ja5on
10,338 PointsDoesn't matter anymore I've found answers from codecademy.
Blake Larson
13,014 PointsBlake Larson
13,014 Points1em by default is 16px.
em
is just a scalable unit used instead of pixels. 2em is 32px, .5em is 8px. So it'smargin-bottom: 8px;