Twitter Bootstrap - 导航栏无法在Firefox和Safari上呈现

时间:2012-04-26 17:17:00

标签: twitter-bootstrap

我有工具栏的代码:

  <div class='navbar navbar-fixed-top'>
    <div class='navbar-inner'>
      <div class='container'>
        <a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
          <span class='icon-bar'></span>
          <span class='icon-bar'></span>
          <span class='icon-bar'></span>
        </a>
        <div class='nav-collapse'>
          <ul class='nav'>
            <li class='active'>
              <a href='some_url'>My Home</a>
            </li>
            <li>
              <a href='some_url'>Option 1 </a>
            </li>
            <li>
              <a href='some_url'>Another option</a>
            </li>
            <li>
              <a href='some_url'>Another option</a>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>

它在Chrome上运行正常,但在Firefox和Safari上,工具栏无法渲染。知道为什么它不会渲染吗?

谢谢!

0 个答案:

没有答案