I am attempting to achieve this layout using CSS:
The margin between each element is set to 10px. The height of the textarea is 100px and the width is 150px
This snippet shows some HTML code for your reference:
main form label {
margin: 10px;
}
textarea {
height: 100px;
width: 150px;
}
<main>
<h2>Contact Us</h2>
<form action="#" method="post">
<!-- More HTML code here -->
</form>
</main>
I'm having trouble with my current setup. While I've used margins before, I can't seem to space out ALL elements properly.