Forums

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

Home Forums CSS @font-face works in Safari but not Firefox?

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #29895
    Anonymous
    Inactive

    Hi,
    i got the @font-face working in Safari and until recently also in Firefox, but suddenly the alternate fonts are displayed (only in FF) and i cant find a solution for it:

    Code:
    @font-face {
    font-family: la;
    src: url(http://somesite.com/la.otf);
    }

    Can anyone help?

    #81378
    noahgelman
    Participant

    What is your code for attaching the font to an element.

    #81379
    Anonymous
    Inactive

    font-family: la,verdana;

    thanks for the super fast reply!

    #81380
    noahgelman
    Participant

    Make sure your @font-face comes first, but the reason is probably because your url to the file doesn’t have apostrophes in it.
    ===> src: url(http://somesite.com/la.otf);

    #81381
    Anonymous
    Inactive

    i tested it with ‘ and ", nothing works

    #81382
    Anonymous
    Inactive

    Solved:
    I just did a fresh install of firefox in a virtual machine and it worked just fine! Seems to be some kind of weird caching problem ( cleared every cache from within the app )

    Thank god, never had that before!

    #81383
    noahgelman
    Participant

    Yeah, firefox has some weird caching issues. You’ll get them sometimes.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.