View Full Version : Font Face for all users


brokensaint
08-21-2003, 06:43 PM
I was just wondering if there was a way to have the font face of particular text on your site readily available to all users looking at your site so that rather than just putting an alternate face in the html you could have it available to download. I think I explained that right.

MaGiCSuN
08-21-2003, 06:52 PM
<style>
@font-face {
font-family: "name";
src: url("http://www.yoursite.com/font_file_name.ttf");
}
</style>

use that code for it, change "name"to the name of the font you want to use. Then place the text between a <font> tag so that you name it that font.

it didn't worked for me atleast, so just try it out

Love,
Mirna

brokensaint
08-21-2003, 07:04 PM
Thanks, but where do the style tags go? Just anywhere in the body? Also, when I specify the aforementioned face in the font tag, will it just refer back to the style tag where I specified the font file if they don't have that font? Did that make any sense I know that last sentence is a little wierd.

MaGiCSuN
08-21-2003, 07:20 PM
the style tag code goes between the <head> and </head>

then you place in your body part this:

<font face="NAME">text here </font>

change NAME to the name you have given your font into the styletag code.

love,
Mirna

brokensaint
08-21-2003, 07:28 PM
Thankx!

rwllms15
08-21-2003, 11:13 PM
Add type="text/css" to the end of the beginning style tag so it will work in other browsers besides the code-forgiving Internet Explorer!