1
For some reason I have not yet discovered the field "Civil State" is not aligned to the field "Availability on Saturday".
I’m not using CSS in this file as it’s just an outline of the final version.
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="footer-header">
<h2 style="color:red;">Trabalhe Conosco</h2>
</div>
</div>
</div><!--row-->
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<form action="envio-curriculo.php" method="post" id="my_form">
<div><div /><input required="required" type="text" placeholder="Nome Completo" value="" name="nome" id="nome" class="form-control"></div></div><br>
<div class="col-md-6"><input required="required" type="email" placeholder="E-mail" value="" name="email" id="email" class="form-control"></div>
<div class="col-md-6"><input required="required" name="telefone" placeholder="Telefone para contato" type="text" class="form-control"></div>
<div class="form-group col-md-6">
<label for="dataNascimento">Data de nascimento</label>
<input type="date" class="form-control" id="dataNascimento" placeholder="dd/mm/aaaa">
</div>
<div class="col-md-6">
<label for="setor">Setor Desejado</label>
<select id="setor" class="form-control" >
<option value="Administrativo" style="background-color: black">Administrativo</option>
<option value="Comercial" style="background-color: black">Comercial</option>
<option value="Operacional / Técnico" style="background-color: black">Operacional / Técnico</option>
</select>
</div>
<div class="col-md-6">
<label for="Disponibilidade">Disponibilidade nos Sabádos</label>
<select class="form-control" id="Disponibilidade">
<option value="" style="display: none;"></option>
<option value="Sim">Sim</option>
<option value="nao">Não</option>
</select>
</div>
<div class="col-md-6">
<label for="estadoCivil">Estado Civil</label>
<select id="estadoCivil" class="form-control">
<option value="solteiro">Solteiro(a)</option>
<option value="casado">Casado(a)</option>
<option value="divorciado">Divorciado(a)</option>
<option value="viuvo">Viúvo(a)</option>
<option value="unido">União Estável</option>
</select>
</div>
<div><textarea id="message" class="form-control" rows="3" name="mensagem" placeholder="Informações Adicionais" style="resize: none;"></textarea></div><br>
<div align="center">
<div>
<div style="width: 100%; height: 100%; margin: 10px" class="g-recaptcha" data-sitekey="6LfOUwgUAAAAAEscevglagePmbzPKKRO6NfzUpUl"></div>
</div>
</div>
<br>
<div class="m-2">
<label class="btn btn-default btn-file" >Anexar Currículo:
<input required="required" type="file" name="curriculo" >
</label>
</div>
<br>
<div><input class="contact_button button btn btn-primary btn-block" type="submit" name="submit" id="submit_curriculo" value="Enviar" /></div>
<div id="server-results"><!-- For server results --></div>
</form>
</div>
</div>
</div>
Thanks for the tip bro, but still the specific field is not aligned here, I do not know if it is for browser reasons or something like
– Souza Elvis
Dude if it works here and then it’s probably not pq you have some extra CSS that is disturbing or because you didn’t check the code I put up there, here it is getting like this http://prntscr.com/pmr8em. but logically because it is column 6 only until MD screens, on screens less than this is only one input per line same.
– hugocsl
the worst is that I copied your code and played there
– Souza Elvis
@Souzaelvis if here on the site works, and here at home works, there has to work tb rss, besides I can’t help you anymore, what I can say is that the code above puts the fields side by side, you must be putting something more or less in yours... I suggest copying the answer code and testing insolently in a new file only with Bootstrap for you to test
– hugocsl