Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Aligning Borders with the Page Margins.

Aligning Borders with the Page Margins

by Allen Wyatt
(last updated October 17, 2015)


When you add borders to paragraphs, the left and right indentation on the paragraph is unchanged, and the border is drawn around the paragraph. This means that the border may extend into the text margins, if necessary. At times, this can look funny or even distracting in your page layout.

The solution is to adjust the paragraph margins so that when the border is drawn, it does not extend beyond the normal text margins. To do this, you will need to experiment with the margin settings for the paragraph. The following hints may help:

  • Try to position the bordered paragraph near the ruler. You can then see if your margin adjustments bring the left edge of the border even with the 0 mark on the ruler.
  • If you are using the thinnest (hairline) single rule for a border, try indenting the paragraph by 2 points more than the value in the From Text field of the Border and Shading Options dialog box. Thus, if you have indicated that the box should be 5 points from the text, then you would indent the paragraph 7 points.
  • Remember you will have to change the paragraph indents if you change the border type.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (173) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Aligning Borders with the Page Margins.

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. ...


Getting Big Macros to Run

Troubleshooting an Excel macro when it causes the entire computer to freeze can be a tedious affair. This tip provides ...

Discover More

Extracting E-mail Addresses from Hyperlinks

If you have a list of hyperlinked e-mail addresses in a worksheet, you may want to extract the addresses from those ...

Discover More

Stopping Validated Data from being Overwritten

Data Validation is a great tool to make sure that data entered in a cell meets whatever criteria you decide. Its ...

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 (menu)

Understanding At Least Line Spacing

Line spacing is used to control how close lines are to each other within a paragraph. Word allows you to specify several ...

Discover More

Understanding Paragraph Alignment

One of the most basic ways to align paragraphs is to set the alignment used for the text in the paragraph. Word provides ...

Discover More

Hanging Indents in Wrapped Text

If you use hanging indents for some of your paragraphs, you may wonder why they don't look right when they wrap on the ...

Discover More

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

View most recent newsletter.


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}] 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 1 + 8?

2018-02-08 10:25:33

Paul J Carter

my question is shading... how do I get the shading bar to extend from margin to margin, from left to right across the page ?

This Site

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

Newest Tips

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.