WD97: Word Loses Center Align When Saving to HTML

This article was previously published under Q165233
This article has been archived. It is offered "as is" and will no longer be updated.
When you save a document to HTML, Word will left-align text if both ofthe following are true:
  • You applied a style called Address to the text.

  • You applied center alignment to the text.
Word does not retain the center formatting of text that has the Addressstyle applied.

NOTE: Word imports the center formatting correctly when importing textsurrounded by the <Address>...</Address> tags, but drops the centerformatting when you save as (export to) HTML.
To work around this problem, use italic formatting and center the textinstead of using the Address style. When you save the document using theHTML converter, Word will apply the italic <I>...</I>) tags and thecenter attribute to the paragraph tag surrounding the address text.
  1. Save your document as HTML.
  2. Select the text you want to format.
  3. On the Format menu, click Style.
  4. In the Styles list, click Normal, and then click Apply.
  5. With the text still selected, click Font on the Format menu.
  6. Under Effects, click to select the Italic check box. Click OK.
  7. To center the text, click the Center Align button on the Formatting Toolbar.
Microsoft has confirmed this to be a problem in the Microsoft productslisted at the beginning of this article.
8.0 kbformat iaword

Article ID: 165233 - Last Review: 10/04/2013 21:23:59 - Revision: 1.1

Microsoft Word 97 Standard Edition

  • kbnosurvey kbarchive kbprb kbusage KB165233