+ 2
How can I centralize a form with css?
3 Réponses
+ 2
.form
{
/* centering the text */
text-align: center;
/* centering the form */
margin: 0 auto;
}
+ 1
.form{
position:absolute;
top:0; bottom:0;
left:0;right:0;
margin:auto;
0
you can use html center tag also
<center>
<form action=“” method=“”>
<input type=“” ...>
...
...
...
</form>
</center>