How to embed fonts in html page

How do i embed a font in an html page? A font that is not commonly used .

SHould work for both firefox and IE .. Please give the code (css??)  etc also.

thanks
sid
young_buddhaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
gxp071Connect With a Mentor Commented:
You can use a technique called sIFR to embed fonts into html

Quoted Definition - "sIFR is meant to replace short passages of plain browser text with text rendered in your typeface of choice, regardless of whether or not your users have that font installed on their systems. It accomplishes this by using a combination of JavaScript, CSS, and Flash, which renders the font. It degrades gracefully if Flash is not present. sIFR 3 is open source and licensed under the CC-GNU LGPL."

which will also render the fonts anti-ailsed (photoshop esk) and it degrades nicely so if flash or JS is not present the user ends up with a usable page.  It can be tricky to implement tho so best used sparingly.

http://novemberborn.net/sifr3

Works for all browsers so long as flash and js is enabled
0
 
nkoriginalConnect With a Mentor Commented:
Check this link

\http://www.spoono.com/html/tutorials/tutorial.php?id=19


Let me know if it's help you or not


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.