Question about the paddings they asked me to do


#1

I dont get it... for what in that case i need padding top, right and bottom?
the only padding that effects the text here, is padding-left.

I removed the other paddings, and i only wrote the padding-left, and i got the same results.

so why they asked me to write the other paddings?

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


#2

well, padding-top and padding-bottom also have affect, if you give them another value then zero, see this bin

padding right is also useful, if your div is full of text, like i show in this bin, see the spacing on the right in the first div? That is the padding. Quit useful, if you ask me