I've been attempting to center a contact form and a feedback form side by side. I tried using float: left; for both to align them horizontally, but I also want them to be centered on the page.
Whenever I manage to display them together horizontally, they stay stuck to the left side. And when I try to center them, they stack on top of each other.
I'm striving to achieve both of these goals.
I've experimented with:
display: block;
margin-left: auto;
margin-right: auto;
width: 500px;
I've also attempted using float: left; to position them next to each other horizontally, but I can't seem to center them that way either.
text-align: center;
It appears that this only centers the text within the div tags, not the full div itself.
Please lend a hand, thank you!