Form won't center

I got the border around the from just how I like it, but it is refusing to center, what’s wrong here:

Hi @gtrman97 !

Welcome to the forum!

If you get rid of the position:absolute; then the content will center.
Then you can adjust the width of the form from there.

Hi, Thanks but when I get rid of that the form is centered but the border becomes extremely wide which I do not want. I want the form centered with the border wrapping around the form very tightly if that makes sense.

You need to adjust the width to your desired liking.

1 Like