You can now use any fonts that you like in your webpage, without worrying about the existence of that font in the users computer. You can dynamically use any font as you like. Just follow these steps.
Place this code in your style sheet
@font-face
{
font-family: YouCanNameYourFont;
src: url('Sansation_Light.ttf')
}
and, give the style rule for your text as nomal like this:
font-family: YouCanNameYourFont;
Place this code in your style sheet
@font-face
{
font-family: YouCanNameYourFont;
src: url('Sansation_Light.ttf')
}
and, give the style rule for your text as nomal like this:
font-family: YouCanNameYourFont;
No comments:
Post a Comment