No replies
Gravesent
Gravesent's picture
Offline
Enthusiast
Bucharest - Romania
Last seen: 6 years 37 weeks ago
Bucharest - Romania
Timezone: GMT+3
Joined: 2007-03-23
Posts: 71
Points: 32

Hello,

I've had this problem for a very long time, if I take a text with a custom font using @fontface, give it a size and a line height of 1em (or other), the text will always be positioned lower in webkit.

Works right in all IE's, firefox and opera, but in webkit browsers like Chrome and Safari the text will always have some extra space above it.

Any idea on how to fix this?

And here's an image to help describe the problem:
http://desmond.imageshack.us/Himg717/scaled.php?server=717&filename=lineheightbug.jpg&res=landing