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!
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
In the video i get that the font-size ems are calculated on default 16.. but margins arent worked out the same i just cant see it?
Steven Parker228,026 Points
The "em" unit is based on the font size of the parent element, it has no default.
The unit that is based on the default document font is the "rem" (root em).
And margins are an entirely different setting than font sizes. They are not related unless you explicitly set them using "em" or "rem" units.