You may not be able to totally remove them. Most printers will not allow printing to the edge of the paper. Even after setting the margins to custom and the top and bottom to 0 check one more place. Under the layout tab under page set up set the header and footer to 0 and try it again.
Register Hereor login if you are already a member