1. Double-click the mouse in the header to enter the header editing state;
2. Select the contents of the header;
3. Click Start-Border-Borderless Line, as shown.
4. Place the cursor at the footer, repeat the above operation, and delete the horizontal line at the bottom of the page.