Padding problem


#1

So I am on the padding question and from what I can tell my CSS code is correct and the padding should be correct(40px on all sides) however it keeps telling me that my top padding is not 40px. I have tried using the padding-top way of doing it as well as my padding: values that i have down there, and none of them are working. What am I missing?

* {
    border: 1px dashed black;
}

div {
    height: 50px;
    width: 100px;
    border: 4px #ff0000 solid;
    border-radius: 5px;
    background-color: #308014;
    margin: 20px 50px 10px 5px
    padding: 40px 40px 40px 40px;
}

#2

This line is missing a semi colon  


#3

oh god, im an idiot, thanks