I have a form and I need to centralize it using only the classes offered by bootstrap
.
My form:
<div class="container-fluid">
<div class="row">
<div class="span12" style="text-align:center; margin: 0 auto;">
<div class ="span8">
<form class="form-horizontal" style="width: 25%; margin: 0 auto;" action="index.php" method="POST">
<input type="text" class="form-control" name="email" placeholder="Email"><br>
<input type="password" class="form-control" name="senha" placeholder="Senha"><br>
<button type="submit" class="btn btn-lg btn-default">Entrar</button><p>
<input type= "hidden" name="entrar" value="login"><p>
<a href="cadastro.php" button type="submit" class="btn btn-lg btn-default">Cadastre-se</button></a>
</form>
</div>
</div>
</div>
</div>