Registration Form step 54

I’m adjusting the margins as asked…short hand but nothing is happening. The instructions call for you to use the margin: as it is.

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

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

}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

Challenge: Step 54

Link to the challenge:

I don’t think that you were supposed to change the left and right margins to 0. I think you were supposed to leave them as auto.

1 Like

That was it. Thank you!

I nearly went mental on step 54 until I figured it our thanks to this post.

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

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