I’m using bootstrap v.3
and I’m trying to get the item in the same line using form-horizontal
class, however I’m not able to get this work, see the code below:
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="grid one-half">
<div class="form-horizontal">
<div class="form-group">
<img id="footer-logo" src="#" alt="">
<div id="copyright">
<p>All Rights Reserved.</p>
</div><!--/#copyright-->
<div id="credit">
<p>Powered by <a href="http://wordpress.org" rel="nofollow">WordPress</a>.</p>
</div><!--/#credit-->
</div>
</div>
</div>
what am I doing wrong? Thanks.
3
Answers
Use style=”display:inline-block;”
Is this what you are looking for?
Ref:Forms Bootstrap