Ive tried to create a stylesheet, its looks like this
.MyStyle
{
/* IE6/7/8 - Must be first */
@font-face {
font-family: yourFontName ;
src: url( ~/fonts/Heidelbe-Normal.eot );
}
/* FFx3.5/Safari/Op10 - Next */
@font-face {
font-family: yourFontName ;
src: url( ~/fonts/Heidelbe-Normal.ttf ) format("truetype");
}
}
I then thought I could use the stylesheet by choosing it as a CssClass property on on my labelcontrol. But the CssClass property list is empty. What have i done wrong?