0
I have a form that I tried to put in the middle of a revolving banner, but it stayed that way:
How I would center in the middle of the banner and the fields get more harmonic within the div?
<form class="form-inline" style="padding: 10px; width: 870px; background: rgba(0,0,0,.4); margin: 150px 10%; position: absolute; z-index: 9999999999">
<div align="center"><h1 style="color: #FFF; padding: 10px">Sua casa nova está aqui!</h1></div>
<div class="form-group col-lg-3">
<select method="post" class="form-control" style="width: 100%">
<option>O que deseja?</option>
<option>Alugar</option>
<option>Lançamentos</option>
</select>
</div>
<div class="form-group col-lg-3">
<select method="post" class="form-control" style="width: 100%">
<option>Qual tipo?</option>
<option value="Todos" style="background-color: #F5F5F5; font-weight: bold">Todos</option>
<option value="Todos"> - Todos os imóveis</option>
<option value="Todos" style="background-color: #F5F5F5; font-weight: bold"> Residencial</option>
<option value="Todos"> - Apartamento padrão</option>
<option value="Todos"> - Casa de condomínio</option>
<option value="Todos"> - Casa de vila</option>
<option value="Todos"> - Casa padrão</option>
<option value="Todos"> - Cobertura</option>
</select>
</div>
<div class="form-group col-lg-3">
<select method="post" class="form-control" style="width: 100%">
<option>Localização</option>
<option>Botafogo</option>
<option>Ipanema</option>
<option>Copacabana</option>
</select>
</div>
<div class="form-group col-lg-3">
<button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-search" aria-hidden="true"></span> Buscar</button>
</div>
</form>
What do you mean "more harmonic"?
– Sam
Hello David. Where the form is, it seems that it is not set within the div. I would like it to stay inside the div more centrally...
– user24136