Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS @font-face help

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #34005
    Abz
    Participant

    http://www.uncutbeatz.com/clear

    the font im using is AGENCY FB and it seems to be working in ie7 whereas in firefox it doesnt

    @font-face {
    font-family: Agency FB;
    src: url(http://uncutbeatz.com/clear/fonts/AGENCYR.TTF.ttf);
    font-style:normal;
    }

    is the code im using…

    any ideas why?

    #85329
    chrisburton
    Participant

    @Abz – The file path is bad.

    #85330
    Abz
    Participant

    silly mistake lol thanks..

    #85331
    chrisburton
    Participant

    I’m confused here. I don’t see where your code is in your stylesheet and I still can’t get the font URL to not 404.

    #85332
    Abz
    Participant
    #85333
    chrisburton
    Participant

    Hmm. I wonder if this has something to do with the file type

    #85334
    Abz
    Participant

    well it seems to be working fine in both firefox and ie

    #85335
    chrisburton
    Participant

    Paste this anyway.

    @font-face {
    font-family: Agency FB;
    src: url("http://uncutbeatz.com/clear/fonts/AGENCYR.TTF.ttf") format("truetype");
    font-style:normal;
    }

    Just an FYI. I usually upload my fonts to Font Squirrel which creates a kit that renders the font for most browsers including older versions of IE. It also creates the code for you.

    #85336
    Chris Coyier
    Keymaster
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘CSS’ is closed to new topics and replies.