8 magins...?


#1

how do you do the magins?


#2

Here, the div with id 'box' will get 10px of margin above and below it, and 5px of margin to the left and right.

Example

#box {
  margin: 10px 5px 10px 5px;
}

If you just want to have a margin above then you can:

#box {
  margin-top: 10px;
}

Click here for more info