我将bootstrap 3用于Web应用程序。 一切都在我的电脑上运行(Chrome,IE和Firefox),但我的一个客户看不到glyphicon。
我首先想到的问题是我的css,但是客户端在getboostrap.com 上看不到任何字形。 问题仅存在于Firefox中。在Chrome和IE上它可以正常工作。
我查看了Firebug的“网络”标签,但找不到单个字体文件下载...
有没有人有想法解决我的问题?
答案 0 :(得分:0)
检查所有字体是否存在并在字体目录中上传,请参阅:Bootstrap 3.0 and Font Awesome,。eot,.woff,.ttf,.svg。如果一个被破坏或丢失,它将无法在某些浏览器上运行:
文件:
css/bootstrap.css
fonts/glyphicons-halflings-regular.eot
fonts/glyphicons-halflings-regular.svg
fonts/glyphicons-halflings-regular.ttf
fonts/glyphicons-halflings-regular.woff