Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2009
    Posts
    411
    Thanks
    119
    Thanked 0 Times in 0 Posts

    Google Font API not working in IE, why not? Should I consider alternatives?

    I've tried Google API font and found that it doesnt render the font in Internet Explorer 8, but it does in other browsers. The specific site I'm referring to is here. I'm trying to get the "Test Font Goes Here" text to have the font applied.

    In my HTML I have:
    Code:
    <h7>Test Font Goes Here</h7>
    In my header.php file (I'm using WordPress) I have:
    Code:
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Monoton">
    And in my stylesheet I have:
    Code:
    h7 {font-family: Monoton, Verdana; font-size:40px; color:red;}
    So shouldn't it be working in IE? At the very least, I would think the font-size:40px would and red color would apply, but it's not and I'm baffled. Google search showed some articles where people said Google Font API doenst play nice with IE. So am I doing something wrong? Or should I abandon Google Font API for Font Squirrel if I want something Free that works across alll browsers?

    Please advise. Thanks in advance!
    Last edited by sixrfan; 11-08-2011 at 05:13 PM. Reason: adsf

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    id try a few of the other fonts , it could just be a problem with the font itself. I've played with this a few times and they typically dont look as good in ie but they do work.


  •  

    Tags for this Thread

    Posting Permissions

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