Today I am in discussion with one of the designer we have and we have found one strange thing about Cufon fonts. If you are not sure what cufon is, then I would recommended you to have read this article about cufon fonts.
Problem is with line-height CSS attribute. Line height works perfectly but not when we apply Cufon fonts to that element.
For first few mins we thought it might a problem with some other CSS property. But it was not like that. In just 4 minutes I have found that cufon has known but about line-height (in all browsers) and that no suppose to get fixed.
Actual problem is with non-strict doctypes pages. So if you have a strict doctype defined then you might have not face the same problem but it will create a problem for all non-strict DocTypes.
So if you have this problem then you must have DocType like below:
So as a solution you need to change that DocType to below one:
Avinash Zala is leading various projects which deals with the various technology involved with the web. A combination of perfect technical and management skills. Avinash would like to chat with you and convert your imagination into the working system. You can get in touch with him on Facebook and Twitter.
View all posts by: Avinash