gpt4 book ai didi

javascript - Twitter Bootstrap 示例在 IE8 中不工作

转载 作者:太空宇宙 更新时间:2023-11-04 14:15:41 26 4
gpt4 key购买 nike

我在让 Twitter Bootstrap 示例在我自己的站点上的 IE8 中运行时遇到了一些问题。我已经制作了此页面的精确副本 ( http://getbootstrap.com/examples/justified-nav/ )。 getbootstrap.com 上的示例页面在 IE7-9 中运行良好。我服务器上的页面根本不工作?我认为问题是 Respond.js 不工作? ( http://www.davekz.com/_twbs.html ) 我完全被难住了。任何人有任何想法。我也试过另一台服务器(不太可能是问题的原因)。

最佳答案

你的 bootstrap CSS 的副本必须在本地托管,CDN 的东西不需要。

http://app.crossbrowsertesting.com/public/i82cbc31d6d6bc2e/livetests/1245371/snapshots/zc8cbc63e8e0c6b6fce2

此外,当我在查看源代码中单击它时,您的 justified-nav.css 似乎是一个 html 文件。

相同文件的副本,相同的问题,直到我直接托管 css。

http://badasstheme.com/test-justified.html

BOOTSTRAP'S DOCS:

Respond.js and cross-domain CSS

Using Respond.js with CSS hosted on a different (sub)domain (for example, on a CDN) requires some additional setup. See the Respond.js docs for details.

关于javascript - Twitter Bootstrap 示例在 IE8 中不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20382212/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com