By far this is the best solution that I have come across with with regards to placing a Div element at the center both horizontally and vertically.

Add your custom width and height values to complete the result.

If you do not assign a width and height value, the Div will stretch its width to fill the screen but its height will be centered vertically depending on the content.

The trick here is with the use of CSS. Add the code below and those spinner arrow buttons in your input form fields will be hidden.

A big thanks to user antonj of Stack Overflow.

Related Posts Plugin for WordPress, Blogger...