css - How to position an input form at the center of a page? -


I want to create a registration status in the center of a page.

Please tell me how I do this

with the following CSS properties Encapsulate it in a div:

  & lt; Div style = "width: 400px; margin-right: auto; margin-left: automatic, range: 1px solid # 000;" & Gt; & Lt; Form Action = "Hello World" & gt; & Lt; Some markups & gt; & Lt; / Form & gt; & Lt; / Div & gt;  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -