I tried to look for answers in previous posts, but everybody seemed to have slightly different issues regarding centering a form. I have tried using horizontal spacers, to no avail. When i use custom CSS, i get the form to center from its right border, like this:
I gave the form the css class of form-center, and I know the code does target the form because the text gets centered. I have tried having the form on its own, and inside a module (even tried classifying the module and targeting that one with the css). If I have mas-width: 50%, the box gets smaller and logically brings the form closer to the center. I can add padding to the left, but this becomes problematic with varying screen sizes.
How can I center a form created on hubspot, yet when posted on my external website, the form aligns to the left. I've read a few of the help posts and responses about CSS and spacers. I don't believe I have access to CSS and can't locate where the spacers are. Can someone helps.