Setting Div border


#1

~~~~~
div{
border:1px;
background-color:#CC0000;
margin-top:10px;
margin-bottom:5px;
margin-left:50px;
padding-top:30px;
padding-bottom:0px;
padding-left:10px;
}

~~~~~


#2

I did set it but it still asks me
" Did you set your

's border to 1px wide?"

#3

a border should have 3 values (width, style and color) separated by spaces. Which exercise is this?


#4

12.Review by the CSS


#6

exercise url? Either way, give your border property 3 values like you learned. If you don't remember, check documentation or earlier exercise


#7

https://www.codecademy.com/courses/web-beginner-en-6merh/1/7?curriculum_id=50579fb998b470000202dc8b#


#8

I fixed it thanks. By adding in the values.
~~~~~~
div{
border:1px solid black;
background-color:#CC0000;
margin-top:10px;
margin-bottom:5px;
margin-left:50px;
margin-right:5px;
padding-top:0px;
padding-bottom:0px;
padding-left:10px;
padding-right:30px;
}
~~~~~~