I want to position a registration from at the center of a page.
please tell me how should i do that
Use the CSS text-align Property to Center a Form in HTML We can use the property as an inline style of the form tag to set the alignment of the form. The text-align property takes the values like left , right , center , justify , etc. We can set the value to center to center the form.
To center your form in the application screen, open the form in design view. View the Form Properties. Set the "Auto Center" property to "Yes".
Encapsulate it in a div with the following CSS attributes:
<div style="width:400px; margin-right:auto; margin-left:auto; border:1px solid #000;">
<form action="helloWorld">
<Some markup>
</form>
</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With