+ 2

How can I centralize a form with css?

22nd Sep 2018, 7:30 PM
Victor Manoel
Victor Manoel - avatar
3 Antworten
+ 2
.form { /* centering the text */ text-align: center; /* centering the form */ margin: 0 auto; }
22nd Sep 2018, 7:39 PM
Xpl0it
Xpl0it - avatar
+ 1
.form{ position:absolute; top:0; bottom:0; left:0;right:0; margin:auto;
22nd Sep 2018, 10:51 PM
Logomonic Learning
Logomonic Learning - avatar
0
you can use html center tag also <center> <form action=“” method=“”> <input type=“” ...> ... ... ... </form> </center>
30th Dec 2018, 4:35 AM
Krupa Mehta
Krupa Mehta - avatar