using a font in a website

Discussion in 'Web Design & Coding' started by Tuffgong4, Jan 31, 2004.

  1. Tuffgong4

    Tuffgong4 The Donger Need Food!!!! Political User

    Messages:
    2,465
    Location:
    Chicago
    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?
     
  2. dubstar

    dubstar format c:

    Messages:
    1,357
    Location:
    Southern California
    i think you just upload the font to your server, then use the "font face=*UploadedFontName.fontextension*" test it out, i could be wrong.
     
  3. Tuffgong4

    Tuffgong4 The Donger Need Food!!!! Political User

    Messages:
    2,465
    Location:
    Chicago
    where would that go in the code...under what tag
     
  4. dubstar

    dubstar format c:

    Messages:
    1,357
    Location:
    Southern California
    upload the font to the server, to the directory that the page is viewed in.

    then <.Font Face = UploadedFont.extension.>
     
  5. CHiLLaXen

    CHiLLaXen hypnotika

    Messages:
    107
    Location:
    Minnesota
    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" />
    
     
  6. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
  7. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    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.
     
  8. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    I am with SPeedY_B.
     
  9. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    fair point, was just something I remembered from ages ago, I will never go back to MSIE :p
     
  10. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    Then whats the point of putting that up?