Results 1 to 3 of 3

Thread: A solution to @fontface Firefox problem

  1. #1
    Join Date
    Aug 2009
    Location
    London
    Posts
    79
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default A solution to @fontface Firefox problem

    Hi,

    After searching for a solution to my @font-face fonts not showing in Firefox I came across the following thread which I want to try.

    http://red-team-design.com/firefox-d...ts-by-default/

    It looks straight forward enough, but my problem is I don't understand some of the terms used - I am a novice.

    What does this mean:
    "set a Access-Control-Allow-Origin header to the font" and "Add the snippet…to a .htaccess file…"

    So with absolutely no prior knowledge, am I correct in thinking I have to:
    1. Open TextEdit (i'm a mac user)
    2. Copy and paste the following code
    3. Save the file as .htaccess
    4. Place this file in the font folder on my server?
    5. Then my @fontface/Firefox issues will disappear?

    Please note that I am not using Word Press

    Code:
    <FilesMatch "\.(ttf|otf|eot|woff)$">
      <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
      </IfModule>
    </FilesMatch>

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,982
    Thanks
    16
    Thanked 311 Times in 309 Posts
    Blog Entries
    11

    Default

    Hi hatter

    I've seen problems with @font-face in Firefox too, but for me, it just needed a rework of the CSS.

    I got it working here though http://www.dynamicdrive.com/forums/s...284#post299284 There's a demo download that may help.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    jhatter (05-23-2014)

  4. #3
    Join Date
    Aug 2009
    Location
    London
    Posts
    79
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    Great solution! Fonts working in Firefox now

Similar Threads

  1. JavaScript and/or CSS solution
    By Sebah in forum JavaScript
    Replies: 2
    Last Post: 07-18-2010, 09:03 PM
  2. Solution to Ajax Includes Script Caching Error in Firefox 3?
    By bdkyle in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 01-23-2009, 09:38 AM
  3. css solution?
    By nikomou in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 12-28-2008, 02:01 PM
  4. Probably an easy solution...
    By UltraMegaOK1988 in forum JavaScript
    Replies: 2
    Last Post: 09-06-2008, 06:47 PM
  5. nobody got solution for this :(
    By lxl__dj.anish__lxl in forum Looking for such a script or service
    Replies: 7
    Last Post: 02-25-2007, 11:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •