I have a form within the body. And I’m trying to replace the form at the middle/center of the screen. Is there a proper way to do that in CSS?
-----------------------
- -
- -
- -
- M -
- -
- -
- -
-----------------------
Edit: (snipped previous code, it only horizontally aligned)
Since no one else got back about vertical align… Here’s one option. If the form is just sitting in the body, you don’t want a wrapper, etc.. Basic solution (requires a fixed height):
Background color is just to illustrate the width/height..