Embedding Fonts through CSS
Some of you may not know but now you can embed font file directly via CSS. Starting at Safari 3 and Firefox 3.1 beta both support direct linking to OpenType (.otf) font files. Presumably Opera will soon support this too. For IE user, it supports direct embedded open type file instead (.eot). To convert a “OTF” file to “EOT” file, you need Microsoft WEFT 3. Here is the link to do so:
Microsoft WEFT 3
To embed the font, simply do the followings:
1. Set the basic font-family
h1, h2, h3, p, td{
font-family:'Font-Name', georgia, serif;
}
2. Add @font-face to your CSS
@font-face{
font-family:'Font-Name';
src: url('Font-Name.otf') format('opentype');
}
for IE
That’s it. It is quite simple. Now all you need to do is finding the right font that you want to use


