Registration Form

Could You please tell me where i make mistake STEP 54 and I have problem with:
‘Change the margin property to include 1em on the top and bottom, and set the width as described above.’

I tried diffren ways but still have this:


You should use the existing margin property to include 1em on the top and bottom.

input[type=“submit”] {

display: block;

width: 60%;

min-width: 300px;

margin: 1em 0;

height: 2em;

font-size: 1.1rem;

background-color: #3b3b4f;

border-color: white;


your code there means add 1em margin to the top and 0 margin to the bottom which is not the instruction

Hint: margin property takes four values
margin :top right-side bottom left-side;
or you can specify the side you want to add margin to like so
margin-top, margin-bottom etc.

I try like this

margin: 1em 0 1em 0;

Also like this:

margin-top: 1em;
margin-bottom: 1em;

And still appear the same error.
And that’s why I am cofused…

add this instead
margin : 1em auto 1em;

1 Like

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