Non-HTML Forms Lose Formatting After Conversion to HTML

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.

Additional query words: iaword winword forms convert ia word6 center centering 1.0 2.0

Keywords : kbhtml kbwdinternet kbform
Version : WINDOWS:1.0z,2.0z,6.0a,6.0c,7.0
Platform : WINDOWS
Issue type :


Last Reviewed: October 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.