using padding
subtracting padding from the page if the page has autoresizing masks