Solved

CSS: How to include non-standard font 'Footlight MT Light'

Posted on 2008-11-03
3
1,959 Views
Last Modified: 2012-05-05
I need to include some text blocks in a CSS driven homepage and need to use the font 'Footlight MT Light'.
How to include/address this font in the HTML/CSS?
0
Comment
Question by:go4java
[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
3 Comments
 
LVL 7

Assisted Solution

by:Valleriani
Valleriani earned 100 total points
ID: 22865751
If you want to change the font of the whole html body, put:

body { font-family: FONTNAMEHERE; }

in the css stylesheet.

You can also make your own or edit h1/h2/h3/etc tags with:

h2 { font-family: FONTHERE; }

So when you call it in HTML it would be:

<h2>HELLO!</h2> for example

Check out http://www.tizag.com/cssT/font.php
0
 
LVL 6

Accepted Solution

by:
dwaynecharrington earned 400 total points
ID: 22865774
Hi,

The font you're wanting to use isn't a system standard font, therefore it will only display if the visitor has that particular font installed on their machine (which is probably unlikely).

An easy way is to use a flash library called Sifr. Sifr allows you to render text into your documents (as a flash movie) and will let you use any font you want. This will only work for machines with Flash installed which is something like 90% these days or so.

Sifr is the only way to display non-standard fonts in a website.

Get Sifr from here: http://www.mikeindustries.com/blog/sifr/


0
 
LVL 5

Expert Comment

by:vibrazy
ID: 22865793
Try

http://www.mikeindustries.com/blog/sifr/

It uses flash, but you can still use css and normal html.

Regards,Dan
0

Featured Post

Technology Partners: 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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
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.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to dynamically set the form action using jQuery.

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