Solved

How to embed fonts in html page

Posted on 2008-10-15
2
1,628 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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…

773 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