Maison > interface Web > tutoriel HTML > 火狐打开本地bootstrap页面,小图标无法正常显示问题_html/css_WEB-ITnose

火狐打开本地bootstrap页面,小图标无法正常显示问题_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Libérer: 2016-06-24 11:48:43
original
1038 Les gens l'ont consulté

      场景是,我下了一套bootstrap的页面,当本地用ff打开某一个html的时候,发现页面上的小图片无法正常显示,一开始我一直以为是bootstrap的字体样式问题,后发现同一个页面,在chrome里却能正常显示,后来到处查找一番,终于发现,是ff的设置问题,只要改一下默认设置即可。

       原文链接:http://stackoverflow.com/questions/19085942/boootstrap-glyphicons-firefox-issues

       解决方案如下:
Firefox has a strict setting(this) that prevents your HTML file from accessing your web fonts from folders not on the root. This only happens when you work locally and not from files on a server. You have to change a setting in Firefox to display the glyphicons when you develop locally.

-open "about:config" in your address in firefox

-Then search for "security.fileuri.strict_origin_policy" property and change it from "true" to "false". (ignore quotation marks of course)

Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal