Tell me what i doing wrong here!
Test
**
.penguin {
width: 300px;
height: 300px;
margin-top:75px;
margin:auto;
}
Hint
You should give .penguin
a margin-top
of 75px
, but found auto
.
Tell me what i doing wrong here!
**
.penguin {
width: 300px;
height: 300px;
margin-top:75px;
margin:auto;
}
You should give .penguin
a margin-top
of 75px
, but found auto
.
Your last line is the margin shortcut property which erased the setting you did on the previous line. Switch the order of these two lines.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.