Bug In Lesson


#1

I'm writing this code:
padding: 40px;
To make all padding 40px but its claiming my padding-top isn't 40. Using this form of padding is supposed to make all padding said size right???


#2

can you post the rest of your css code? Make sure you have no missing semi-colons


#3

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


#4

you are missing a semi-colon after this line:

margin: 20px 50px 10px 5px

which means, the next line is not correctly interperted, causing the error


#5

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


#6

still missing that semi-colon


#7

I figger it out thnx.