Non-HTML Forms Lose Formatting After Conversion to HTML

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

SYMPTOMS

When you convert non-HTML forms to HTML, the following features are lost:

  • Paragraph indention is removed.
  • Tabs are removed.
  • Right-, centered-, and justified-aligned paragraphs convert to left aligned.
  • Line spacing is converted to single spacing.
  • Columns are removed.
  • Calculation fields are converted to regular text, and their expressions appear as text inside the form fields.
  • Text immediately preceding the first form field is not included between the top of form and bottom of form section breaks. For example, the following

          Invoice # [formfield]
    

    converts to this:

          Invoice #
          ================top of form===================
          [formfield]
    

          ===============bottom of form=================
    

CAUSE

This behavior in Internet Assistant for Word is by design. Your non-HTML form document contains some elements that will not be preserved during conversion to HTML.

For a list of items that do not convert and more information on converting Word documents to HTML, choose "Internet Assistant for Word Help" from the Help menu, choose the Search button, select "Converting a Word Document to HTML," choose Show Topics, select the "What is Lost When Word Documents are Converted to HTML" topic, and choose the Go To button.

WORKAROUND

Method 1: To create a form in Internet Assistant choose the Insert menu and

          select Form Field. Enter the form fields from this dialog box to
          get the proper HTML tags assigned when saving.

          To preserve other formatting assign various styles to your text.
          Use a combination of definition lists, ordered or unordered
          lists, and preformatted styles.

Method 2: Edit the Raw HTML source by opening your form in Notepad. Move
          the form related text between the <FORM> and </FORM> tags.

MORE INFORMATION

If you create an HTML document using Internet Assistant commands and the toolbar, your document will not lose any formatting when it is saved as HTML and brought back into Word. However, when a Word document is not created with Internet Assistant, it may contain some elements that will not e brought back into Word after it is saved as HTML.

For more information on creating forms, choose "Internet Assistant for Word Help" from the Help menu, choose the Search button, select "Form Element," choose Show Topics, select the "HTML Forms and Equivalent Word Commands" topic, and choose the Go To button.


KBCategory: kbusage
KBSubcategory: kbhtml kbforms
Additional query words: iaword 6.0a 6.0c winword forms convert
ia word6 center centering 1.0 1.0z 2.0
Keywords : kbforms kbhtml kbwdinternet
Version : 1.0 1.0z 2.0
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.