Microsoft KB Archive/157776

= WD97: Horizontal Lines Display With Different Widths =

Article ID: 157776

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q157776



SYMPTOMS
Some horizontal lines expand the width of the display window and appear to be left-aligned, and other horizontal lines appear to be centered and have a fixed width of 6.5 inches. This problem occurs when formatting Web pages.



CAUSE
The horizontal line inserted by using the Horizontal Line button or the first line style in the Horizontal Line dialog box is centered in the document but expands the width of the document window, giving it the appearance of being left-aligned.

The graphical line styles, beginning with the second line style in the Horizontal Line dialog box, are GIF images that have a fixed length.

By default, all horizontal lines are formatted with the Align=center attribute.



WORKAROUND
To work around the problem, choose one of the following methods:

Method 1. Use the same style for all horizontal lines on your Web page.

Method 2. Modify the HTML source and change the HR tag attributes so that they resemble the attributes of the IMG SRC tag used by the graphical lines.

For example, if the tag for the graphical line looks like this:



change the HR tag so that it looks like this:





STATUS
Microsoft has confirmed this to be a problem in Microsoft Word 97 for Windows.

Additional query words: 97 8.0 word8 word97

Keywords: kbbug kblayout kbpending KB157776

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.