The text in this paragraph contains a span element that has been given right and left padding and negative left and right margins, plus a background, which causes some interesting effects. The extra space you see at the beginning and end of the span and the observed overlap are to be expected.