Go to Page Setup → Layout → Margins, then select Custom Margins.
Set the Top and Bottom margins to 0 to effectively eliminate header/footer space.
Click and drag the vertical ruler all the way up to remove the header.
Similarly, drag it all the way down to remove the footer.