0
I am finalizing a site and the form has to be centered vertically on the page.
I’ve tried everything to have a margin in % but no technique works. I’ve put %
, I put like Absolute to top and nothing.
I’ll leave the beta link for you to take a look and give me a light.
http://bblender.com.br/clientes/moldin/contato
Personal code
<section class="container">
<h2>CONTATO</h2>
<form id="form-contato" action="contato/send" method="post" name="contato" >
<div class="clearfix"></div>
</form>
<div class="clearfix"></div>
</section>
.container{
width: 1024px;
margin: 0 auto;
position: relative;
}
#form-contato {color: #58595B;margin-top: 13%;}
Rman, it only works with position:Bsolute?
– Luis Fernando Mangia
@Luisfernandomangia using this abrodagem yes, because the form is centralized in relation to the browser and not the container.
– Tobias Mesquita