更新时间:2022-10-20 23:30:47
检查所有字体是否存在并上传以及您的字体目录,另请参阅: Bootstrap 3.0和Font Awesome ,.eot,.woff,.ttf,.svg。如果有人损坏或丢失,在某些浏览器上将不起作用:
文件:
css / bootstrap.css
字体/ glyphicons-halflings-regular.eot
字体/ glyphicons-halflings-regular.svg
字体/ glyphicons-halflings-regular.ttf
字型/ glyphicons-halflings-regular.woff
I use bootstrap 3 for a web application. Everything works on my computer (Chrome, IE and Firefox) but one of my customer can not see glyphicon.
I first thought the problem was my css but the client does not see either glyphicons on getboostrap.com The problem is only present in Firefox. On Chrome and IE it works.
I checked the Network tab of Firebug and I could not find a single font file download ...
Does anyone have an idea to solve my problem?
Check all your fonts are present and upload well in your font dir, see also: Bootstrap 3.0 and Font Awesome, .eot,.woff,.ttf,.svg. If one is broken or missing it will not work on some browsers:
files:
css/bootstrap.css
fonts/glyphicons-halflings-regular.eot
fonts/glyphicons-halflings-regular.svg
fonts/glyphicons-halflings-regular.ttf
fonts/glyphicons-halflings-regular.woff