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

  • Home
  • SEARCH
  • 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 7193315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:08:44+00:00 2026-05-28T20:08:44+00:00

I’m working on a site which uses the Open Sans typeface for the body

  • 0

I’m working on a site which uses the Open Sans typeface for the body text, with EOT, SVG, WOFF and TTF font files and stylesheet generated by Font Squirrel. I’ve included my fonts CSS first in my page header. But when I view the site in IE7, IE8 and even IE9 I get a flash of everything in Times Roman before the Open Sans kicks in. This isn’t happening in the other browsers.

Can anyone suggest a way I could stop this happening? Here’s the Font Squirrel CSS I’m using for that font:

 @font-face {
    font-family: 'OpenSansRegular';
    src: url('opensans-regular-webfont.eot');
    src: url('opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('opensans-regular-webfont.woff') format('woff'),
         url('opensans-regular-webfont.ttf') format('truetype'),
         url('opensans-regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
  • 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-28T20:08:45+00:00Added an answer on May 28, 2026 at 8:08 pm

    What you see while the custom font is being downloaded isn’t defined in the above code. It’s defined in your other font-family instructions throughout your CSS code.

    Add other fonts after ‘OpenSansRegular’ value, separated by commas. From right to left:

    • on the right, the family of your font. serif, sans-serif, monospace or cursive (yay Comic Sans!). Here, OpenSansSth is … sans-serif.
      Your browser has a default for these families, Arial, Verdana or some other font in Linux, whatever. It’s the user choice when you don’t choose for him. The default family is serif and the default font in Windows is ‘Times New Roman’. That’s why you see Times New Roman as a FOUC in IE.
    • then a websafe font that is as close as possible as your custom font. Here it’d be a sans-serif font like Verdana or Arial. Maybe sans-serif and Verdana will be the same thing but you’re never sure (especially with Linux users), so add both
    • In between your custom font and the websafe one, you can add fonts that could be installed in quite a few OSes but aren’t websafe like the ones installed with MS Office, Adobe Reader, OS X, Adobe Creative Suite, etc You’ll find them in 10 to 90% of your visitor computers, but not 100%. Not everybody install a Creative Suite (only web professionals and other designers) and MS Office (I use LibreOffice) and there are different fonts installed in XP, Vista and 7
    • finally, the leftmost value will be the custom name you gave to your custom font. OpenSansRegular in your site

    Ex:

             nav { font-family: 'Custom_at-font-face','closest font to the font-face one but certainly rarely found on computers by default', 'less close, 'not close but same family', Verdana,sans-serif;
             }
    

    Compatibility tables with percentages (maybe a bit old) http://www.codestyle.org/css/font-family/
    Don’t use 10 values, 3 to maybe 6 will be enough 😉 In 2012 @font-face may cause rendering problems depending on the browser and the OS (aliasing) but it’s very well supported so you can shorten your font-families.

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

Sidebar

Related Questions

I have a text area in my form which accepts all possible characters from
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.