Learn HTML Forms by Building Registration Form: Step 60

Hello, Im kinda stuck here.

"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."

input[type="submit"] {
  display: block;
  height: 2em;
  min-width: 300px;
  font-size: 1.1rem;
  background-color: #3b3b4f;
  border-color: white;
  margin: 1em auto;
}

It gives me an error of

"
Test

Sorry, your code does not pass. Don’t give up.

Hint

You should not change the width property. Use the min-width property.

It says you should not change the width property… was there originally a width property??? I’m guessing you needed to leave that alone, and add a separate min-width.

1 Like

I got stuck on this too! You just need to read the instructions again, but very carefully.

1 Like

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