简体   繁体   English

导航丸不起作用

[英]nav-pills is not working

The below code is not working in IE 8.0 It works fine in firefox and chrome browsers . 下面的代码在IE 8.0中不起作用。在Firefox和chrome浏览器中可以正常工作。 In IE the list items instead of coming on a single row they are coming in multiple lines. 在IE中,列表项而不是排成一行,而是多行显示。 How to address this. 如何解决这个问题。

I am using Bootstrap v2.0.0 and jQuery v1.7.1 我正在使用Bootstrap v2.0.0和jQuery v1.7.1

<div class="row-fluid">
        <div class="span12">
            <div class="pull-left">
                <ul class="nav nav-pills">

                    <li>
                        <a  href="#" data-toggle="pill">openorder" 
                        </a>
                    </li>
                    <li >
                        <a  href="#" data-toggle="pill">completedorder</a>
                    </li>

                    <li>
                        <a  href="#" data-toggle="pill">service" </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>

It's hard to say with only the HTML here and no example. 很难只在这里说HTML而没有例子。 You tagged this with javascript and jquery - is there some kind of problem here too? 您使用javascriptjquery对此进行了标记-这里也存在某种问题吗?

I think you should remove the pull-left class because that just makes the times inside float to the left. 我认为您应该删除pull-left类,因为那只会使内部时间向左浮动。 I suspect this is your problem. 我怀疑这是您的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM