Wednesday, April 11, 2007

Fading buttons and embedded fonts

To apply a fade effect to text you must use embedded fonts. I was going nuts trying to use an embedded font with buttons so the applied fade effect would work. After several failed attempts I found this post (thanks Jesse!).

In short, create a style that looks like this...
Button
{

embedFonts: true;

fontWeight: normal;

fontSize: 22;

fontFamily: YourEmbeddedFont;

}

No comments: