Background color, height, and width


#1

some one help me please with this exercise.


#2

If you need help, post your code so we can help you.


#3

div {

background-color: #cc0000;

}

{
height: 100px;
}
{
width: 100px;
}


#4

Oops, try again. It looks like your

isn't 100px high; it appears to be 18px high. (If you're getting a weird number, try resetting your zoom with Ctrl-0 or Cmd-0.)

#5

general css syntax:

selector { 
  property: value;
  property: value;
  property: value;
}

now, the selector is div in this case. which you done fine. Now, background-color, height and width are all property's, and should be add to your css selector div, do you understand?


#6

oh k thank you will try again.


#7

its Done Successfully.