Customizing popup windows

Hi people,
I made a button which triggers a customized popup window (no borders, no scrollbars, fixed size, etc etc) that is linked to a .jpg file. However, there are top and left margins in the popup window and I would like to get rid of those so the image fits perfectly to the popup. Can someone please help me in solving this issue? Thanks in advance.