IA: Resized Pre Element Reverts to Original Width

ID: Q145629

The information in this article applies to:

SYMPTOMS

When you display your document in Page Layout view, text formatted in the <pre> style extends past the right side of the page.

If you size the frame to fit within the margins of the page, the frame size reverts to its original size when you save the HTML file.

CAUSE

By design, the preformatted style inserts a frame around your text. Because the style is saved as the pre element, this format is applied when you save the document. Therefore, any size changes you make to the frame are removed.

WORKAROUND

To work around this problem, insert a hard carriage return in your text to control were your line breaks inside the <Pre> element.

KBCategory: kbusage KBSubcategory:

Additional query words: 6.0 7.0 2.0z internet assistant ntword wordnt word95 word7 iaword pre preformatted <pre> <pre wide> as is wrap window paragraph return line length end of line new line shift enter hard carriage return soft

Keywords          : kbwdinternet 
Version           : WINDOWS:2.0z,7.0; winnt:6.0
Platform          : WINDOWS winnt

Last Reviewed: January 23, 1999