CSS Property:
padding:

Result:
Play with different padding values for this yellow DIV element.
CSS Code:

div#myBox {
  background-color:yellow;
  border: 1px solid red;
  padding:0px;
}
  
Click the property values above to see the result
W3Schools.com - Play it