how to align the form in center code example
Example 1: create a specific form size and center in css
div.form
{
display: block;
text-align: center;
}
form
{
display: inline-block;
margin-left: auto;
margin-right: auto;
text-align: left;
}
Example 2: html align form center
form {
text-align: center;
}
Example 3: align form to center of page
form {
text-align: center;
}