Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4012732
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:17:02+00:00 2026-05-20T09:17:02+00:00

I’m currently trying to implement webfonts on the site I build, I want to

  • 0

I’m currently trying to implement webfonts on the site I build, I want to use it as a fallback within the font-family attribute, i.e. If the character is not represented in Arial / Helvetica then it should be within the webfont used.

I realise this will not work in IE6 and 7 but expected it to work in IE8 which it doesn’t seem too.

I was just wondering if anyone had ever had any experience of this problem and if using a webfont as a fallback font was possible in IE8 or if anyone can just see that I’m just doing something wrong within the code.

Thanks in advance, for any help

Here is my css code:

@font-face {
    font-family: 'stix';
    src: url('/webfonts/webfont.eot');
    src: local('☺'), url('/webfonts/webfont.woff') format('woff'), url('/webfonts/webfont.ttf') format('truetype'), url('/webfonts/webfont.svg#webfont3hGwcDt1') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'stix';
    src: url('/webfonts/bold-webfont.eot');
    src: local('☺'), url('/webfonts/bold-webfont.woff') format('woff'), url('/webfonts/bold-webfont.ttf') format('truetype'), url('/webfonts/bold-webfont.svg#webfontJse4ZhT8') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'stix';
    src: url('/webfonts/talic-webfont.eot');
    src: local('☺'), url('/webfonts/italic-webfont.woff') format('woff'), url('/webfonts/italic-webfont.ttf') format('truetype'), url('/webfonts/italic-webfont.svg#webfonthDLBqRGk') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'stix';
    src: url('/webfonts/bold_italic-webfont.eot');
    src: local('☺'), url('/webfonts/bold_italic-webfont.woff') format('woff'), url('/webfonts/bold_italic-webfont.ttf') format('truetype'), url('/webfonts/bold_italic-webfont.svg#webfontnuMlJc7x') format('svg');
    font-weight: bold;
    font-style: italic;

}

body { font-family: arial, helvetica, clean, stix, sans-serif}
body.ie6 #content, body.ie6 .popup { font: 15px/1.6em stix; }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:17:03+00:00Added an answer on May 20, 2026 at 9:17 am

    I’m using a stripped down version of your code (for the sake of clarity alone – there’s nothing wrong with it) and testing in lots of browsers (with the webfont being STIX, like you, not that I’m aware if this plays a role), and I’m seeing some odd behaviour: font fallback in most browsers does work, but only when excluding all italic variants of fonts (be they italic or bolditalic).

    I.e. this works (100% of the time), with browsers falling back to STIX for those chars not in arial:

    @font-face {
        font-family: 'stix';
        src: url('stixgeneral-webfont.eot');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'stix';
        src: url('stixgeneralbol-webfont.eot');
        font-weight: bold;
        font-style: normal;
    }
    body {font-family: arial, stix, sans-serif;}
    

    … but this does not work 100% of the time (although sometimes it does display the chars!):

    @font-face {
        font-family: 'stix';
        src: url('stixgeneral-webfont.eot');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'stix';
        src: url('stixgeneralitalic-webfont.eot'); /* note - italic font variant */
        font-weight: normal;
        font-style: italic;
    }
    body {font-family: arial, stix, sans-serif;}
    

    The reason for this appears to be that the STIX fonts package has errors.

    In order to get around this, open your STIX fonts package in FontForge and save – FontForge will inform you of errors. Fix these, and only then import into FontSquirrel. Font fallback should now work correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making an ecommerce site and I'm currently trying to implement my cart using
I'm currently trying to implement an attributed string for use in iOS development. I
I am currently trying to implement my own webserver in C++ - not for
I am currently trying to implement the Interop.MODI.dll (From Microsoft Office) to use the
I am currently trying to implement fancybox. I want to set it to autodimensions
I am currently trying to implement a graph on a website from a raw
I am currently trying to implement Conway's Game of Life in a Code, and
I'm currently trying to implement some kind of search system in a program of
I am currently trying to implement a PNG encoder in C++ based on libpng
I'm currently trying to implement a socket server that enables the clients to send

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.