Don't get framed
If you use Insert>Page Numbers to number your document, the character will be contained in a frame.
This can, sometimes, make formatting the Header or Footer difficult.
A more versatile solution is to use Insert>Field.
Look for PAGE and NUMPAGES.
How to control the page numbering in a Word document
"Page X of Y" gives wrong numbers
Placing the page number correctly on a landscape page
There is, also, an excellent discussion about how Word handles numbering at the
Microsoft Word MVP FAQ Site
See all Topics word