Keeping Centered Headers and Footers Centered

Written by Allen Wyatt (last updated February 25, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


1

Patsy has a document that has headers and footers in it. Each has information at three places: left, centered, and right. If she later changes the margins of the document, the previously centered portion is no longer centered. (The center-aligned tab was set based upon the old line width, which is no longer valid after the margin change.) Patsy wonders if there is a way to set up the header or footers so that the centered information remains centered, even if she needs to change margins.

The traditional way to solve this problem is to put a three-celled, single-row table in the header or footer. You can put text in the left, center, and right cells and then format or align that text any way you like within the cell. As long as the table width is set to 100%, it will adjust automatically to any changes in the overall line width.

There is an even better way to get the desired result: through the use of alignment tabs. Follow these steps:

  1. Open the header or footer area, depending on which one you want to change. (Simply double-click in the header or footer area to open it to editing.)
  2. Type the text you want left-aligned in the header or footer.
  3. Display the Header & Footer tab of the ribbon or, in Word 2007, the Design tab of the ribbon.
  4. In the Position group, click the Insert Alignment Tab tool. Word displays the Alignment Tab dialog box. (See Figure 1.)
  5. Figure 1. The Alignment Tab dialog box.

  6. Click the Center radio button.
  7. Make sure the Align Relative To drop-down list is set to Margin.
  8. Click OK to close the Alignment tab dialog box.
  9. Type the information you want centered in the header or footer.
  10. Again click the Insert Alignment Tab tool, as you did in step 4. Word again displays the Alignment Tab dialog box.
  11. Click the Right radio button.
  12. Make sure the Align Relative To drop-down list is set to Margin.
  13. Click OK to close the Alignment tab dialog box.
  14. Type the information you want right-aligned in the header or footer.
  15. Close the header or footer area by clicking in the main document.

If you have non-printing characters visible on your screen, you'll notice that Word displays the alignment tab using the familiar arrow character it normally uses for tabs. While alignment tabs, in this respect, look like regular tabs, they are very different. Regular tabs are set at a particular distance from the left margin, while alignment tabs are set at a relative position (left, center, or right) to both margins. This means that if you later make a formatting change that adjusts those margins (such as Patsy did), change paper size, or even change from portrait to landscape orientation, the alignment tabs adjust the information that follows them relative to the margin change. This is very powerful!

I noted that if you have non-printing characters visible then alignment tabs look like regular tabs. If you need (for some reason) to determine whether a tab character is a normal tab or an alignment tab, one way to do so is to try deleting it. Position the insertion point just to the left of the tab character and press the Delete key. If the tab disappears, then it was a regular tab. If the symbol for the tab character (the arrow) is, instead, simply selected, then that is an alignment tab.

Since alignment tabs were introduced in Word 2007, they are only viable in documents saved in the DOCX or DOCM formats (or templates saved in the newer file format). If you are working on a document using the older DOC file format or you are working in compatibility mode, then alignment tabs have no efficacy—they are treated as regular tabs.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13426) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Turning Off AutoFill for a Workbook

Don't want people using your workbook to be able to use AutoFill? You can add two quick macros that disable and enable ...

Discover More

Setting Program Window Size in a Macro

The macro programming language used in Excel gives you a great many tools that allow you to modify the way that Excel ...

Discover More

Adding an Optional Break

The no-width optional break is primarily used for Asian languages in Word. It can have value for English-speakers, as ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Quickly Formatting Footers in Documents with Many Sections

Need to adjust all the footers or headers in a document that uses lots of them? It's easy to do if you understand how the ...

Discover More

Including a Printer's Name in a Footer

If you can produce output on a number of different printers, you may want Word to indicate on your printouts which ...

Discover More

Deleting a Header or Footer

When working with existing documents, you may need to delete a header or footer previously created. Here's how you can do ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2023-02-26 00:31:22

Tomek

Allen:
Nice hidden gem.

I tried it and it worked as you described. Then the geeky cat in me got curious,so I tried to mix regular tabs with the alignment tabs, and it worked too. Alignment tabs just ignore regular tab settings.

Moreover, I found that you can copy the center alignment tab from the header and paste it in the body of text and it keeps its special behaviour.
Then I found that you can add the Insert Alignment Tab button to your QAT (from All Commands.)

Would it be useful? Maybe. I recently worked on a document where I had several in-line pictures I wanted to center-align between margins. There was one picture per line with some short text to the left as well as to the right. I set it up fine with tabs, but then decided to change the page size and orientation. I had to readjust the tabs as they stayed absolute to the left margin. If I knew this trick I would have used it then.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.