Tell us what’s happening:
Hi all. I was working on the project Survey form. I tried my best to beautify it. I noticed the textarea is not positioned in the center. I change the space by using the padding of the form.
Can someone help to center it properly.
Thanks a mil.
Your code so far
Link to the whole code.
below is the part in question:
#survey-form {
border: solid;
padding: 20px;
margin: 50px 100px;
}
textarea {
width: 100%;
min-height: 100px;
resize: vertical;
border-radius: 10px;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
.
Challenge: Build a Survey Form
Link to the challenge: