在 Firefox 和 IE11 中,图标完全无法加载...有人知道我该如何解决这个问题吗? 解决方案 问题不在于您的 HTML 或 CSS 代码...它必须与字体文件或服务器、因为普通的字体文件应该包含代码并且可以在浏览器中打开时像这样下载:https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0虽然你的文件即使在下载时也没有任何代码看起来是空的:http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.eot?v=4.3.0尝试替换文件...I found allready this: https://stackoverflow.com/search?q=Failed+to+decode+downloaded+fontBut the Answers dont help to fix my problem =/I got on my page this errors in console:Failed to decode downloaded font: http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.woff2 index.php?option=com_kunena&view=category&layout=list&Itemid=129&templateStyle=9:1 Failed to decode downloaded font: http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.woff index.php?option=com_kunena&view=category&layout=list&Itemid=129&templateStyle=9:1 Failed to decode downloaded font: http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.ttfURL to my page: http://devcomlink.kunena.dev-monkeys.com/index.php?option=com_kunena&view=category&layout=list&Itemid=129&templateStyle=9in Firefox and IE11 the icons totaly dont load...Have anyone a idea how i can fix this? 解决方案 The problem isn't with your HTML or CSS code... It must be with the font files or the server,because normal font files should contain codes and can be downloaded when opened in browser like this : https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0While your files looks empty without any code even when downloaded: http://devcomlink.kunena.dev-monkeys.com/components/com_kunena/template/devcomlink/fonts/font-awesome/fontawesome-webfont.eot?v=4.3.0Try to replace the files ... 这篇关于FontAwesome - 无法解码下载的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-07 11:55