Consider the following html code: link
In the fiddle was defined a div with an image located in the upper right corner. It occurs that I'd like to add a border between the image and the border of the div (simulating a 10px padding in the div). I tried to put padding in the div, but the background image does not move. I could also put a background-position: rigth 95%, but in that case I would need to know the div size and image size beforehand, and both of the information I do not have. The only known information is the space of 10px between the image and the border.