I
I
IvanKalinin2014-05-07 22:24:09
Fonts
IvanKalinin, 2014-05-07 22:24:09

IE won't load font

How to cure this problem?
Everyone except IE loads the font normally, but it shows off as usual.
Approximate, not finished layout here
www.unlock-mobile.su/my/
For a full view of css
www.unlock-mobile.su/my/css/style.css

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anna Bakurova, 2014-05-08
@IvanKalinin

1) check the font paths again
2) font-face must be included first and no styles should be written before it, and you have styles for all elements and a media query
3) as Zoxon already says, write src: local('☺' )
If after that there are problems with IE, speak. It is also necessary to remember that all pirated fonts are not old versions and some new ones do not display (but this is not your case)
Always download fonts from Google and generate through , there is an article where I explained why , by the way, this can also be a solution to the problem, but it seems to me that the dog is buried in paragraph 2!

K
Konstantin Velichko, 2014-05-08
@Zoxon

Try to connect the font in this way, it hasn't let me down yet

@font-face {
font-family: "PT Serif";
  src: url("../fonts/ptserif-normal.eot");
  src: local('☺'), 
  url("../fonts/ptserif-normal.eot?#iefix") format("embedded-opentype"), 
  url("../fonts/ptserif-normal.woff") format("woff"),
  url("../fonts/ptserif-normal.ttf") format("truetype"), 
  url("../fonts/ptserif-normal.svg#PT Serif") format("svg");

  font-weight: normal;
  font-style: normal;
}

UPD: This option is outdated. More details here How to connect multiple fonts in css?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question