Is it possible to get Cufon to work on a button?

Posted by Tom Harvey on Stack Overflow See other posts from Stack Overflow or by Tom Harvey
Published on 2009-08-22T11:15:36Z Indexed on 2010/04/21 8:23 UTC
Read the original article Hit count: 715

Filed under:
|
|
|
|

So right now I'm bashing my head - at the moment we use an element for a button to give it our own custom font, fine - this works, but as we're using Cufon on the rest of the site, we're wondering if it's possible to get Cufon working on a button.

So far I've changed the button to an and using standard css styles on an 'input' or 'input[type="submit"]' element work fine - but I've tried both of these in cufon to no avail.

This is a button - so as Cufon generates images, this should work, but maybe I'm doing it wrong - can anyone help?

© Stack Overflow or respective owner

Related posts about cufon

Related posts about forms