Html 将文本换行为复选框

Html 将文本换行为复选框,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,我的引导应用程序的响应版本上的一些显示器有问题。让文本与复选框内联(并在下面环绕)的最佳方式是什么 所讨论的线路如下: /* Please ignore my use of &nbsp;... i've changed that to a margin in the latest revision */ <li class='list-group-item'><input type='checkbox' id='checkbox".$i.$iter."' name='p

我的引导应用程序的响应版本上的一些显示器有问题。让文本与复选框内联(并在下面环绕)的最佳方式是什么

所讨论的线路如下:

/* Please ignore my use of &nbsp;... i've changed that to a margin in the latest revision */
<li class='list-group-item'><input type='checkbox' id='checkbox".$i.$iter."' name='pagesToGenerate[]' value='".$file."'/>&nbsp;&nbsp;<label class='files' for='checkbox".$i.$iter."'>".str_replace($dir, '', $t)."</label></li>
/*请忽略我对。。。我在最新的修订版中把它改成了页边空白*/
  • 。.str_替换($dir,,$t)。”
  • 
    
    快速而肮脏的方法是使用浮子

    .list-group-item input {
        float: left;
    }
    
    .list-group-item input {
        float: left;
    }