Hi sir,
I download one font from the internet, i need to assign the font to my asp.net website, i have ttf file, Tell me the steps to load ttf file to asp.net. Kindly give me the solution for this problem.
Hi sir,
I download one font from the internet, i need to assign the font to my asp.net website, i have ttf file, Tell me the steps to load ttf file to asp.net. Kindly give me the solution for this problem.
Know the answer? Post it. Somebody with the same question will find it here.
Jay S159 reputationPosted Mar 14, 2014, 1:39 AM EDT
@font-face
{
}
for example
@font-face
{
font-family: yourFontName ;
src: url( /location/of/font/FontFileName.ttf ) format("truetype");
}
/* Then use it like you would any other font */
.yourFontName
{
font-family: yourFontName , verdana, helvetica, sans-serif;
}
This is a good article: http://randsco.com/index.php/2009/07/04/p680
Abhay ShankerRank #375 · 6.7K reputationPosted Mar 14, 2014, 4:45 AM EDT