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

Replacing Hidden Text

Word allows you to format text so it can be easily hidden from view and from printing. If you want to convert the hidden ...

Discover More

Boxes in Boxes

When you insert a text box within another text box, you may expect any text in the outer text box to wrap around the ...

Discover More

Inserting a Page Number Field

The PAGE field is used to indicate the current page number on which the field occurs. If you want to add this field to ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Why Does the Footer Expand?

When you add too much text into a footer for that text to display in the space you've allotted to the footer, then Word ...

Discover More

Pulling Headers and Footers from Other Files

You may have some standard headers and footers you want to make available in your document templates. This tip describes ...

Discover More

Changing the Link to Previous Default for Headers and Footers

When you insert a new section in your document, Word assumes you want the headers and footers in that section to be the ...

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 two more than 7?

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.