This plugin allows you to remove (or alter) the arbitrary 10px ‘pad’ that WP inserts on the divs holding images and captions