2
are trying to make a Nav bar with a centralized search field.. I even managed to do more I believe I’m not in the best way, because when I open on a smartphone everything gets weird...
Follow my code below.
<div class="top_nav">
<div class="nav_menu">
<nav>
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<!-- campo para pesquisa-->
<form class="navbar-form navbar-left" action="listaProcessos.html">
<div class="input-group" style="margin: 4px 0 0 250px; width:400px">
<input type="text" class="form-control" placeholder="Pesquisar">
<div class="input-group-btn">
<button class="btn btn-default" type="submit" >
<i class="glyphicon glyphicon-search" style="color:#5A738E"></i>
</button>
</div>
</div>
</form>
<!--fim campo de pesquisa-->
</nav>
</div>
</div>
Put your css, it makes it easier to help you
– Bia Silva
By any chance are you using Bootstrap? If yes which version?
– hugocsl
The bootstrap version is v3.3.7
– Henrique Abreu