Can you embedded a hosted TTF Font file - and use in CSS?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Can you embedded a hosted TTF Font file - and use in CSS?

Post by simonmlewis »

We want to use a font for certain dynamic links that won't be readily available to people.
I've seen stylesheets that have the font named with some sort of 'location' reference, but have never been able to do it.

So how do you use CSS to tell the Class where the font it, to use it, and then assign it?
I'd assume you could pop the TTF file in a 'source' folder, and point it to that.

But how?
Post Reply