Answer the question
In order to leave comments, you need to log in
The input and the button are in the same parent, is it possible to do this or not?
If instead of this code:
<nav class="navbar navbar-inverse navbar-fixed-top">
<form id="my_form" class="navbar-form navbar-left" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Поиск">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</nav>
<nav class="navbar navbar-inverse navbar-fixed-top">
<form id="my_form" class="navbar-form navbar-left" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Поиск">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</form>
</nav>
Answer the question
In order to leave comments, you need to log in
If such an implementation is required, then there is nothing wrong with that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question