A very similar question was asked here , but in fact he answered quite well ...
The CSS-height CSS property controls the number of spaces above letters. The more / less row spaces, the farther / closer to each other. But if you set the line height to the same value as the font size, the text will still have a space above it.
So it DOES NOT WORK ...
div { height: 80px; } span { font-size : 80px; line-height : 80px; } <div> <span>Foo</span> </div>
http://jsfiddle.net/s_d_p/yMHVs/
The extent to which the embedded text actually matches the height of the container seems to differ from font to font.
So my question has two parts:
source share