WD97: Right-aligned Graphic Deletes HTML Code When Saved

Last reviewed: September 8, 1997
Article ID: Q172092
The information in this article applies to:
  • Microsoft Word 97 for Windows

SYMPTOMS

If you insert an image into an HTML document and use the ALIGN property of the IMG tag to right align it, all HTML code after the image is removed from the saved HTML file.

WORKAROUND

To work around this problem, right align the paragraph that contains the image, instead of aligning the image. To do this, view the HTML source by saving your document, and then clicking HTML Source on the View menu.

Locate the line that contains ALIGN=RIGHT as part of the IMG SRC tag, and change it to align the paragraph. For example, if your file contains the following line

   <P><A HREF="INDEX.HTML"><IMG SRC="IMAGE.JPG" ALIGN=RIGHT></A></P>

change it to this

   <P ALIGN="RIGHT"><A HREF="INDEX.HTML"><IMG SRC="IMAGE.JPG"></A></P>

STATUS

Microsoft has confirmed this to be a problem in Microsoft Word 97 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

This problem most likely occurs with files originally created in Microsoft FrontPage 97.


Additional query words: 8.00 8.0 cut blank delete missing drop dropped
Keywords : winword word8 word97 kbwdinternet
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbworkaround


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: September 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.