Learn HTML Forms by Building a Registration Form - Step 61

Lastly, for the submit button, you want to separate it from the fieldset above, and adjust its width to never be below 300px.

Change the margin property to include 1em on the top and bottom, while leaving the right and left margins set to auto. Then set the width as described above.

What is the correct way to write it?

input[type=“submit”] {
display: block;
width: 60%;
margin:???
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f;
border-color: white;
min-width: 300px;

thanks

set :
min-width:300px;
margin : 1em auto;

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.