center align a input in form code example
Example 1: html align form center
form {
text-align: center;
}
Example 2: input type submit align center
<input type="text" style="margin:0px auto; display:block;" />
form {
text-align: center;
}
<input type="text" style="margin:0px auto; display:block;" />