0

I downloaded fresh yiinitializr archive (from here) unpacked it. After I configured db etc. I wanted to print a icon, just like it's mentioned at the yiistrap site:

<?php echo TbHtml::icon(TbHtml::ICON_GLASS); ?>

And it's invisible. There is a proper HTML code:

<i class="icon-glass"></i>

The bootstrap.min.js and bootstrap.min.css are also attached. Why it's still invisible?

4

1 回答 1

0

您是否包含图标图像文件。Bootstrap 使用来自http://glyphicons.com/的字形图标,您需要包含图标图像文件。

于 2013-11-14T07:23:07.360 回答