我使用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 –