Html li元素中的复选框/收音机浮动右键问题Firefox

Html li元素中的复选框/收音机浮动右键问题Firefox,html,css,firefox,checkbox,radio-button,Html,Css,Firefox,Checkbox,Radio Button,我正在尝试使用li标签中的复选框/单选按钮。我想将我的复选框/单选按钮拉到li元素的右侧。Webkit浏览器对此没有问题,但Firefox将复选框/单选按钮移至下一行 我用的是Bootstrap3。下拉菜单 HTML 我在Bugzilla网站上搜索了这个问题的解决方案,但什么也没找到。 谁能帮我解释一下这个问题吗?检查我的解决方案。我知道它并不完美,但它确实有效 HTML 谢谢你,兄弟,你救了我的命。 <form id="advenced-search-form" class="form"

我正在尝试使用li标签中的复选框/单选按钮。我想将我的复选框/单选按钮拉到li元素的右侧。Webkit浏览器对此没有问题,但Firefox将复选框/单选按钮移至下一行

我用的是Bootstrap3。下拉菜单

HTML

我在Bugzilla网站上搜索了这个问题的解决方案,但什么也没找到。
谁能帮我解释一下这个问题吗?

检查我的解决方案。我知道它并不完美,但它确实有效

HTML


谢谢你,兄弟,你救了我的命。
<form id="advenced-search-form" class="form" method="get" action="/search">
    <div class="input-group add-bottom">
        <input type="text" class="form-control" placeholder="Search...">
        <div class="input-group-btn">
            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-caret-down text-primary"></i>

            </button>
            <ul class="dropdown-menu advenced-action pull-right" role="menu">
                <li class="dropdown-header">Advenced search filters</li>
                <li>
                    <label class="text-uppercase advenced-search-label"> <strong>Clients</strong>&nbsp;
                        <input type="checkbox" value="1" id="checkbox1" class="advenced-search-checkbox">
                    </label>
                </li>
                <li>
                    <label class="text-uppercase advenced-search-label"> <strong>Services</strong>&nbsp;
                        <input type="checkbox" value="2" id="checkbox2" class="advenced-search-checkbox">
                    </label>
                </li>
                <li>
                    <label class="text-uppercase advenced-search-label"> <strong>Resources</strong>&nbsp;
                        <input type="checkbox" value="3" id="checkbox3" class="advenced-search-checkbox">
                    </label>
                </li>
            </ul>
        </div>
    </div>
    <button type="submit" class="btn btn-info btn-5x25 add-bottom pull-right">Search&nbsp;&nbsp;&nbsp;<i class="fa fa-caret-right"></i>
    </button>
</form>
.dropdown-menu > li > label {
    display: block;
    font-weight: normal;
    text-decoration: none;
    color: #727272;
    line-height: 18px;
    padding: 5px 20px;
    margin: 0;
    white-space: nowrap;
}
.dropdown-menu > li > label:hover, .dropdown-menu > li > label:focus {
    background: #f6f6f6;
    cursor:pointer;
}
/*.dropdown-menu > li > label > strong, .dropdown-menu > li > label > span {
              float: right;
            }*/
 .dropdown-menu > li > label > input[type="radio"], .dropdown-menu > li > label > input[type="checkbox"] {
    margin: 4px 0 0 0px;
    float: right;
}
.dropdown-menu.advenced-action {
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e6e6e6), to(#f5f5f5));
    background-image: -webkit-linear-gradient(top, #e6e6e6, 0%, #f5f5f5, 100%);
    background-image: -moz-linear-gradient(top, #e6e6e6 0%, #f5f5f5 100%);
    background-image: linear-gradient(to bottom, #e6e6e6 0%, #f5f5f5 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6', endColorstr='#fff5f5f5', GradientType=0);
    padding-bottom: 0;
}
.dropdown-menu.advenced-action > li {
    border-bottom:solid 1px #cccccc;
}
.dropdown-menu.advenced-action > li:last-child {
    border-bottom: none;
}
<label class="text-uppercase advenced-search-label">
   <div class="d1"><strong>Clients</strong></div>
   <div><input  type="checkbox" value="1" id="checkbox1" class="advenced-search-checkbox" /></div>                      
</label>
.d1 {
    width:100%;
    float:left;
}