1

Bootstrap 非常酷,但由于某种原因,所有图标(以及按钮内的图标)在 IE 7 和 8 中根本不可用。

即将出现的只是一个方形符号。

我可以在 IE 中使用非圆形框,但图标是必须的。有任何想法吗?

(如果有什么不同,我们使用 twitter-bootstrap-rails gem 将 rails 作为平台运行。

谢谢!

4

2 回答 2

4

确保您已在 HTML 中声明了文档类型。

<!doctype html>
于 2012-12-06T17:01:12.020 回答
2

I assume the icons are correctly served on other web browser and you are using 2.0.4.

You can try to clear the ie cache.

Or maybe http://fortawesome.github.com/Font-Awesome/ (ie7 is supported)

There's a list of issue specific to ie on GitHub : https://github.com/twitter/bootstrap/issues?labels=ie&page=1&state=closed But don't see any related to your problem.

If none of the answer make sense to you, post some code (jsFiddle would be ideal but since the picture is expected to be in /img it will not works without editing bootstrap.css)

于 2012-06-27T17:17:53.353 回答