Safari: extraneous white space margin-bottom in element

I was having trouble removing an unwanted white space of about 10px from the bottom of a page element in Safari. Setting the letter-spacing, word-spacing, and font-size to 0 helped me finally get rid of this inline element.

.container {
  font-size: 0px;
  letter-spacing: 0px;
  word-spacing: 0px;