My padding is not working!


#1

I am on the review and it is not accepting my code. I put li {
/*Add your CSS here!*/
display:inline;
border: 2px solid #000000;
font-family: Futura, Tahoma, sans-serif;
color: #ffffff;
border-radius: 5px 5px;
background-color: #cc0323
padding-top:5px;
padding-right:5px;
padding-bottom:5px;
padding-left:5px;
}
And it says "Oops! It looks like your li's padding-top isn't 5px. HELP!


#2

you are missing a semi-colon after background-color: #cc0323

this is mean from the exercise, no idea of it is on purpose


#3

Probably just a bug. Thanks!


#4

@stetim94 It's not the exercise's fault at all. CSS needs the semi-colons to work, and without them the styles don't get applied properly.


#5

but when the exercise start, background is the last property, so a semi-colon wouldn't be needed. (i would still put it there), but it is mean of the exercise not to


#6

@stetim94 Ah, I see :)