Unitless line height in CSS
published 9 July 2007
For a couple of years now I keep stressing the fact that line-height works best when you don’t provide a unit. And I am not saying this for no reason.
As neatly explained by Eric Meyer the unitless line height doesn’t enforce it’s computed size onto the inheriting element.
Comment
Quick links
Other people's articles that we think you might be interested in:
- How To Use Valid XHTML Tags in TextMate
- 125 Social Bookmarking Sites : Importance of User Generated Tags, Votes and Links
- Email Standards Project
- Use Gmail to generate unlimited e-mail addresses
- A List Apart: Articles: Text-Resize Detection