Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using css for fonts not on client

Status
Not open for further replies.

gmail2

Programmer
Jun 15, 2005
987
IE
I seem to remember hearing / reading something a while back about being able to use css to set the font for web pages even if the font wasn't installed on the client side. I preume it involved having a copy of the font on the server side or something, and I think at the time it wasn't really recommended (can't remember why, maybe it was just bandwidth issues). Anyway, if anybody can remember what it is and how it's done I'd be greatful as I'd like to try it out.

Irish Poetry - Karen O'Connor
Get your Irish Poetry Published
 
<style type="text/css">
@font-face {
font: "font name";
src: url("specify url address")
}
</style>

 
There are two FAQs that show how to do it: faq215-1525 and faq215-4042 . It only works in IE, but that's a pretty large percentage of your readership. Just be sure to specify fallback fonts for other browsers to use.

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top