本文介绍了Twitter引导 - 图片不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在谷歌浏览器中运行正常的网站,但在其他浏览器(Firefox,Safari)中没有。代码:

 < div class =span2> 
< img src =./ images / ads / karaoke.png/>
< br>< br>< br>
< img src =./ images / ads / euros.png/>
< br>< br>< br>< br>
< img src =./ images / ads / parties.png/>
< br>< br>< br>< br>
< img src =./ images / ads / traleeDynamos.png/>
< / div>

正如您所看到的,我在网站的右侧显示了4张图片。但图像不会在Firefox中呈现!


需要HTML5文档类型



Bootstrap使用HTML元素和CSS属性,需要
使用HTML5文档类型。请确保将其包含在项目中每个引导页面的
开头。

Requires HTML5 doctype

Bootstrap makes use of HTML elements and CSS properties that require the use of the HTML5 doctype. Be sure to include it at the beginning of every Bootstrapped page in your project.