em.d
1
Tell us what’s happening: I have been stuck on trying to change the margin top and button for my button to 1em
Your code so far
input[type="submit"] {
display: block;
width: 60%;
min-width: 300px;
margin: 1em 1em 0 auto 0 auto;
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f;
border-color: white;
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14526.89.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.133 Safari/537.36
Challenge: Step 54
Link to the challenge:
What are you trying to accomplish? What do the failing tests say?
em.d
3
I have to separate the button from the fieldset above “Change the margin
property to include 1em
on the top and bottom,”
You appear to be passing 6 values into the margin
attribute, which doesn’t work.
em.d
5
right I realize that now
I have tried everything I could to change the margin from 0 auto to what is asked
If you don’t want the margin to be 0
, then why do you have 0
s in there?
em.d
7
Thanks for your help, I just understood the issue.
Good job working through it! Happy coding.
system
Closed
9
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.