1. Click the button displayed in the lower right corner of the page layout tab;
2. Pop up the page setup dialog box, select the margins tab, and enter the required margins in the top, bottom, left and right input boxes; Set the footer margin of the header in the input boxes of the header and footer;
3. Switch to the Page/Footer tab and click Customize Header and Footer to enter the contents of the header and footer.