Small line-height cross-browser difference
Posted
by AESM
on Stack Overflow
See other posts from Stack Overflow
or by AESM
Published on 2010-05-14T12:41:49Z
Indexed on
2010/05/14
12:44 UTC
Read the original article
Hit count: 192
css-positioning
So basicly my problem is that the line-heights in Firefox are a little bittle "larger" than in other browsers even though they're all fixed line-heights. For example, you have a block element which has a height from 100px and the line-height is set to 102px.
Now, in Firefox the vertical alignment of text is perfect. But in the latest Chrome and Safari 4, the text stands 2px or so higher.
Isn't there any way to fix this?
Thanks.
© Stack Overflow or respective owner