0

How to Embedd font on website

Go to the below URL :
http://randsco.com/index.php/2009/07/04/p680

and click the this easy Online TTF->EOT C
OpenType font file (having an EOT extension). Upload both the EOT and TTF files to your server. Using a single @font-face selector, load the Embedded Open Type font (EOT) for IE6, IE7 and IE8 first then the TrueType Font (TTF) for FireFox
@font-face {
font-family: MyCustomFont; (your font family name )
src: url("AOPCHA_N.eot") /* EOT file for IE */ (give your font path )
}
@font-face {
font-family: MyCustomFont; (your font family name)
src: url("AOPCHA_N.TTF") /* TTF file for CSS3 browsers */ (give your font path )
}
For Example :
html xmlns="http://www.w3.org/1999/xhtml">
head>

Untitled Document
Style>
@font-face {
font-family: AkrutiOriChandra;
src: url(../AOPCHA_N.eot) /* EOT file for IE */
}
@font-face {
font-family: AkrutiOriChandra;
src: url(../AOPCHA_N.TTF) /* TTF file for CSS3 browsers */
}
@font-face {
font-family: AkrutiOriChandra;
src: url(../AOPCHA_N.eot) /* EOT file for IE */
}
@font-face {
font-family: AkrutiOriChandra;
src: url(../AOPCHA_N.TTF) /* TTF file for CSS3 browsers */
}
body>
How To Convert Font

0 comments:

Post a Comment