Solved

How to embed fonts in html page

Posted on 2008-10-15
2
1,632 Views
Last Modified: 2012-05-05
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
0
Comment
Question by:young_buddha
2 Comments
 
LVL 5

Assisted Solution

by:nkoriginal
nkoriginal earned 200 total points
ID: 22721478
Check this link

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


Let me know if it's help you or not


0
 
LVL 6

Accepted Solution

by:
gxp071 earned 300 total points
ID: 22721958
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

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question