12 review


#1

hope ive posted in correct place.
this is number 12 review on HTML,C.S.S.
This is the code I've entered and it doesn't seem to be working.

div { border:1px solid black #cc0000;
margin:10px 5px 5px 50px;
padding:0px 30px 0px 10px;
}
any help appreciated. I've used cntrl and 0 to re-set browser to no effect.


#2

your border property has 4 values, it should have 3 values. Your background-color should be #cc0000


#3

wow that was a quick response. Yes of course , I removed the hex code for black and it works. Funny I've been staring at that code for ages and I couldn't see the mistake.

Many many thanks.


#4

I edited my answer, you need a background-color of #cc0000 and the border should be black. Took me a while to find the right exercise, since you didn't specify this was the css positioning track


#5

like so
div { border:1px solid black;
background-color: #CC0000;
margin:10px 5px 5px 50px;
padding:0px 30px 0px 10px;
}


#6

exactly like that, seems like you passed. Well done


#7

Many thanks for pointing that out and for the speedy response