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?
 
i think you just upload the font to your server, then use the "font face=*UploadedFontName.fontextension*" test it out, i could be wrong.
 
where would that go in the code...under what tag
 
upload the font to the server, to the directory that the page is viewed in.

then <.Font Face = UploadedFont.extension.>
 
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" />
 
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.
 
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

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
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.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back