View Full Version : load .ttf via external stylesheet


MaGiCSuN
05-04-2003, 07:30 PM
HI guys,

i'm setting up the coding for a new layout and i found this website here on this forum:

http://codephobia.com/tutorials/view.php3?idnum=6

it's a great thing that i would be glad to use! But, is it also possible to use this code in a external stylesheet? Because i use those and it would be great to fit them into there.

I don't use <font> codes in my coding because i have everything in my stylesheets, and since that tutorial above says to use <font> codes i'm not exactly sure what the coding would be for external .css files. If anybody could help me out that would be great !

I want to use the font arial rounded bold or something, i copied the .ttf file into the same folder as my other files from the layout and i named it "arialbold.ttf"

Thanks !

Love,
Mirna

lefty
05-04-2003, 07:54 PM
I haven't tried it, but my guess would just be to put the font-family attribute in the css body tag (like you would any other font) and see if it works that way... otherwise I have no idea. :lol:

MaGiCSuN
05-04-2003, 09:34 PM
nope still nothing,

but i did read that you have to embedd the font first, and that's why most people can't get it to work i guess.... You have to make it .eot or .pfs or something... don't ask how because i don't know either lol

well thanks lefty ! it was worth trying :)

Love,
Mirna