Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internet Explorer will not recognize my font. #31

Open
GoogleCodeExporter opened this issue Mar 6, 2016 · 0 comments
Open

Internet Explorer will not recognize my font. #31

GoogleCodeExporter opened this issue Mar 6, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

I am trying to have custom made social media icons on my webpage. I am using 
socicon font. My code works for all browsers except for IE. I even tried the 
?#ie fix and it still didn't work. I have also read that I need to put the Full 
Name in order for IE to recognize the font. I believe that socicon is the full 
name, but when I type that in Safari doesn't recognize the font.

Here is my code:

@font-face {
    font-family: 'si';
    src: url('http://cdn2.hubspot.net/hub/181041/file-1984135345-eot/Font/socicon.eot');
    src: url('http://cdn2.hubspot.net/hub/181041/file-1984135345-eot/Font/socicon.eot?#iefix') format('embedded-opentype'),
          url('http://cdn2.hubspot.net/hub/181041/file-1984135350-woff/Font/socicon.woff') format('woff'),
          url('http://cdn2.hubspot.net/hub/181041/file-1981225289-ttf/Font/socicon.ttf') format('truetype'),
          url('http://cdn2.hubspot.net/hub/181041/file-1979860473-svg/Font/socicon.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

It is also odd that when I tried to erase this line:

src: 
url('http://cdn2.hubspot.net/hub/181041/file-1984135345-eot/Font/socicon.eot?#ie
fix') format('embedded-opentype'),

Safari also no longer produced the socicon font. I didn't think Safari read 
.eot files.

Thanks,

Megan

Original issue reported on code.google.com by MeganKat...@gmail.com on 31 Oct 2014 at 1:11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant