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

Home Forums CSS Embedding Fonts

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #31989

    Hey, I am trying to embed Myriad Pro into my website using @font-face, which is specific to CSS3, I believe. The documentation says it should work in Firefox 3.1 and above. I tried it on my computer and it seems to be working fine, but then I tried it on a friend’s computer and it was not pulling up the correct font. Here is the code in my style.css:

    @font-face {
    font-family: MyriadPro-Regular;
    src: url(fonts/MyriadPro-Regular.ttf ) format("truetype");

    And here is a link to my site, if you want to use something like Firebug to check it out. Tell me if the font is working properly in other browsers, as well. Thank you in advance!


    try this..

    @font-face {
    font-family: ('MyriadPro-Regular'),
    src: url('fonts/MyriadPro-Regular.ttf ') format("truetype");

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