using a font in a website

Tuffgong4

The Donger Need Food!!!!
Political User
Joined
Jun 21, 2002
Messages
2,465
#1
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
Dec 3, 2002
Messages
1,357
#2
i think you just upload the font to your server, then use the "font face=*UploadedFontName.fontextension*" test it out, i could be wrong.
 

dubstar

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

then <.Font Face = UploadedFont.extension.>
 
Joined
Jan 6, 2004
Messages
107
#5
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
Mar 31, 2002
Messages
15,800
#7
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
Mar 18, 2002
Messages
7,805
#9
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 profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,992
Messages
673,382
Members
89,023
Latest member
ganster