Solved

How to embed fonts in html page

Posted on 2008-10-15
2
1,639 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to pass values to HTML-5 attribute dynamically? 24 64
transfer content to new site design 7 48
Div not showing up 6 32
change site header 8 31
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

737 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