1
I’m having trouble breaking bootstrap lines. I need to leave my logo, an image, followed by a label, without breaking the line. However, using the form-control class of boostrap.min.css the line is broken, leaving the image separate from the label. If I put a normal input, without the bootstrap class, the line does not break. I tried to change the css code of boostrap in the form-control class, but nothing has changed. I also tried to change the size of the input, but it has not changed either.
<form action="./InterfaceServlet" method="post" name="searchForm">
<div class="input-group input-group">
<img src="images/logoWiber.png" alt="WiBer" width="365" height="261">
<input type="text" name="search" class="form-control" size="100">
<button type="submit" class="btn btn-lg">Search it</button>
</div>
</form>
You can simply use the class
.pull-left
already existing in bootstrap itself. Learn more here– abfurlan