0
How can I center this search input to stay on the line of text? I tried applying margin but instead of going up, he pushes the table down
Current Code:
<!-- tabela servicos solicitados -->
<div id="paineldeordens" class="panel panel-default pull-left" style="width:74%">
<div class="panel-heading">Lista de serviços solicitados
<div class="form-group has-feedback pull-right" id="pesquisadiv">
<input type="text" class="form-control col-xs-2 input-sm" id="inputbusca"/>
<span class="glyphicon glyphicon-search form-control-feedback"></span>
</div>
</div>
I’m pretty sure that one
clearfix
resolves.– user94336
@Wilhelm worked in parts, so http://prntscr.com/h5egvt
– Igor Oliveira
Your input is inside a
form-group class
and he has margins I think it’smargin-bottom: 5px;
try to take away his margin.– user94336
I withdrew, the result is fine, but I will try to center the text vertically
– Igor Oliveira
Depending on the input can affect the text on the left, then you can work with
line-height
maybe your input is centered, but the text is not, giving the impression that the input is not.– user94336