IA: Resized Pre Element Reverts to Original Width

Last reviewed: February 5, 1998
Article ID: Q145629
The information in this article applies to:
  • Microsoft Internet Assistant for Word, version 2.0z
  • Microsoft Word for Windows 95, version 7.0
  • Microsoft Word for Windows NT, version 6.0

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 : 2.0z
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.