我使用bootstrap v.3
,我试图让使用form-horizontal
类在同一行的项目在同一行,但我不能得到这个工作,请参见下面的代码:无法获取项目在
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="grid one-half">
\t <div class="form-horizontal">
<div class="form-group">
<img id="footer-logo" src="#" alt="">
\t \t \t <div id="copyright">
\t \t \t \t \t <p>All Rights Reserved.</p>
\t \t \t \t </div><!--/#copyright-->
<div id="credit">
<p>Powered by <a href="http://wordpress.org" rel="nofollow">WordPress</a>.</p>
</div><!--/#credit-->
\t \t </div>
</div>
</div>
我究竟做错了什么?谢谢。
形式的类只应在形式使用。 – skribe
“网格”和“一半”不是标准的引导程序类。这是创世纪框架吗?你应该参考这里的文档http://getbootstrap.com/css/#grid – skribe
@skribe yep is genesis –