using a font in a website

Tuffgong4

The Donger Need Food!!!!
Political Access
Joined
21 Jun 2002
Messages
2,465
is there anyway to put code into your html to make sure that the font used is one that is uploaded to my server...or do I just have to leave it up to the persons computer to hopefully have the font?
 

dubstar

format c:
Joined
3 Dec 2002
Messages
1,357
i think you just upload the font to your server, then use the "font face=*UploadedFontName.fontextension*" test it out, i could be wrong.
 

Tuffgong4

The Donger Need Food!!!!
Political Access
Joined
21 Jun 2002
Messages
2,465
where would that go in the code...under what tag
 

dubstar

format c:
Joined
3 Dec 2002
Messages
1,357
upload the font to the server, to the directory that the page is viewed in.

then <.Font Face = UploadedFont.extension.>
 

CHiLLaXen

hypnotika
Joined
6 Jan 2004
Messages
107
or create a "file_name.css" file
then put
Code:
body {
   font-family: font_name;
   }

then in the html file, inside the <head> tag put
Code:
<link href="file_name.css" rel="stylesheet" type="text/css" />
 

SPeedY_B

I may actually be insane.
Joined
31 Mar 2002
Messages
15,806
The Web Embedding Fonts Tool 'WEFT', lets Web authors create 'font objects' that are linked to their Web pages so that when an Internet Explorer user views the pages they'll see them displayed in the font style contained within the font object.

Just stick with standard web-fonts. Otherwise you're excluding Windows users who don't use IE, FreeBSD Users, Mac Users, BeOS Users, Linux Users, and all other none-windows operating system users.
 

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
fair point, was just something I remembered from ages ago, I will never go back to MSIE :p
 

Members online

No members online now.

Latest forum posts

Latest profile posts

Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,011
Messages
673,477
Members
5,606
Latest member
Thurmanmartinson