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.

Kenneth Graham
7,707 PointsDefault line height
This video says browsers default to 1em line-height. Every browser I have installed defaults to 1.2em.
2 Answers

Youssef Subehi
Courses Plus Student 290 Pointsas i know line-height values are based on the computed font-size, Normal is supposed to be based on font size but it can and does vary from browser to browser.
anyway you can always change it using Css.

Kenneth Graham
7,707 PointsI know that it can vary since the spec leaves it up to the UA with a recommendation of between 1.0 and 1.2, but does it actually vary in the real world? Chrome, Firefox, Safari, Opera, and IE all default to 1.2 on my computer. I think the claim that the default is 1.0 is at least wrong in practice if not in theory.