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 trialCarlos Enrique Castañeda Gutiérrez
13,886 PointsQuestion about property "Line-Height" and "em" units
Hello Everybody:
When Nick use:
line-height: 0.8em;
that 0.8 is relative to the default "Font Size" or default "Line Height" of that font?
Thanks very much
1 Answer
Carlos Enrique Castañeda Gutiérrez
13,886 PointsThanks for the answer Baillie, now it's clear to me.
Baillie O'Grady
9,883 PointsBaillie O'Grady
9,883 Pointshttp://www.w3schools.com/cssref/tryit.asp?filename=trycss_unit_em
relative to the font size.