Css Fonts not coming in on IE9 and IE 11

  • Unknown's avatar

    Hi All,

    I am using CSS to call a font but it doesnt work in IE 9 and IE 11. I am unsure why. Any ideas?

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi, can you point me to the CSS that isn’t working and I’ll take a look for you.

  • Unknown's avatar

    Actually, sorry, I see you have only one font family declaration in your CSS. Since the h1-h6 headings “inherit” the font from body, you can simplify your selector like this:

    body {
        font-family: "Arial Unicode MS","sans-serif" !important;
    }

    Change that to the following. The issue has to do with the quote marks. Quote marks are only required around font names which are two words, with a space in between, such as Unicode MS.

    body {
        font-family: Arial "Unicode MS",sans-serif !important;
    }

    Some browsers will see what you had and say, ok, I know what they mean. Some browsers are very rigid in their CSS interpretation. IE is rigid. :)

  • The topic ‘Css Fonts not coming in on IE9 and IE 11’ is closed to new replies.