WD97: Image Not Correctly Shown in Table of an HTML DocumentLast reviewed: March 6, 1998Article ID: Q173399 |
The information in this article applies to:
SYMPTOMSIn Microsoft Word, an image may not be correctly displayed in a table in a Hypertext Markup Language (HTML) document if any of the following conditions are true.
Case 1: No Image Size SpecifiedThe HTML code to insert the image into the table does not specify its size.
Case 2: Image Wider Than Preset Size of Table ColumnThe HTML code specifies the column size of the table, and you insert an image that is wider than the preset column size.
Case 3: Document is in Online Layout ViewIn online layout view, Word may display extra space to the right of the image, or truncate the image near the right column boundary of the table.
CAUSEThis problem only occurs when you insert images into a cell of a table.
Case 1: No Image Size SpecifiedWhen you do not specify the size of the image, Word does not know what size to make it; therefore, Word only shows a very small portion of the graphic.
Case 2: Image Wider Than Preset Size of Table ColumnWhen you specify the width of a column, and then insert a picture that is wider than the preset, the picture does not fit and therefore is not displayed properly.
Case 3: You Are Using Online Layout ViewThe default view for HTML documents in Word 97 is online layout view. Online layout view automatically sizes the column widths of tables to fill the screen horizontally. However, online layout view does not resize images. This behavior is by design, in order to prevent images from appearing distorted.
WORKAROUNDTo have the graphic be displayed correctly, use the appropriate method for your situation.
Case 1: No Image Size SpecifiedSave your HTML document, close and then reopen the document. When you reopen the document, Word automatically resizes the table cells based on their content. NOTE: This method only works if the cell that contains the image has not been previously defined with a preset size.
Case 2: Image Wider Than Preset Size of Table ColumnIf you know the width of the image, follow these steps:
Case 3: You Are Using Online Layout ViewTo display the table with the defined column widths, change to Page Layout view. To do this, click Page Layout view on the View menu. For additional information about the HTML converter, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q157086 TITLE : WD97: Limitations of Converting from Word Format to HTML |
Additional query words: 8.0 8.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |