Stumped again


#1

OK, so here's the instructions:

We've put a

for you to use on the HTML tab. On the CSS tab:
Give that div a border of 1px solid black.
Give it a background color of #CC0000.
Set its top margin to 10px, its right margin to 5px, its bottom margin to 5px, and its left margin to 50px.
Set its top padding to 0px, its right padding to 30px, its bottom padding to 0px, and its left padding to 10px.

And here is what I wrote:

div {
height: 100px;
width: 100px;
border: 1px solid-black;
background-color: #CC0000;
top-margin: 10px;
right-margin: 5px;
bottom-margin: 5px;
left-margin: 50px;
padding: 0px 30px 0px 10px
}

It's not working. The tutorial tells me I haven't created a border of 1px. Am I missing something? I checked this again and again and am not seeing it.


#2

try removing the dash between solid black


#3

I dont know if you have it figured out yet, but margins should be written as "margin-left" instead of "left-margin." If you change that, it should work perfectly.