custom fonts

Discussion in 'HTML & Website Design' started by netpox, Mar 5, 2007.

  1. #1
    How do i use custom fonts in css...i want to use a font called Myriad. But when i do

    body {font-family:Myriad;}

    it still displays as default. If i change it to a font that is on most people's computers it works but that one wont..is there a way to have custom fonts that would work on everyone else's computer.
     
    netpox, Mar 5, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    The @font selector has no support, thankfully. No one wants to have to download some huge font file that does not offer them any benefit. You may use some image replacement method for headings and such. The web, though, is not print. You are at the mercy of the end user and whatever UA he has.

    cheers,

    gary
     
    kk5st, Mar 5, 2007 IP