CSS line-height doesn't affect Cufon fonts

newbie picture newbie · Sep 21, 2009 · Viewed 12.4k times · Source

I'm using Cufon ( https://github.com/sorccu/cufon/wiki/about ) to use special fonts in my website. But when I apply line-height in CSS, it doesn't affect my Cufon fonts. But in IE it does work. What could be reason for this behaviour?

Answer

Richard picture Richard · Nov 5, 2009

The doctype needs to be strict for line-height to work correctly.