4/6 Positioning your button


#1

Hey guys, can't get through this. What am i doing wrong?

Here's code:

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

/*Start adding your CSS below!*/
div {
height: 50px;
width: 120px;
border: 2px solid #6495ed;
background-color: #bcd2ee;
border-radius: 5px;
margin: auto
text-align: center;
}

Oops, try again.
Did you remember to set your div's text-align to center;?

#2

you are missing a semi-colon after margin: auto


#3

Thanx mate! :sweat_smile: