@font-face can not work in Firefox but work on other browsers.

I made a website and uses a police custom requiring a @font-face for styling. I used Internet Explorer, Firefox and Chrome to check if the CSS script works and I found it works well, except Firefox.

I tried to find resources or questions about it, but it seems difficult. Will there be web programmers who know this problem?

Here is the code:

{@font-face}
Police-family: of yore;
SRC: url("font/Yesteryear-Regular.woff");
}

To all the people who helped me in this topic, thank you very much. I found what the problem is... In fact the Firefox does support the EOT file type and make the entire side @font destroyed. I removed it and only put WOFF file in CSS and it works now.

Thank you very much.

Tags: Firefox

Similar Questions

Maybe you are looking for