Microsoft KB Archive/221264

= WD2000: HTML Table Caption Has Border When File Opened in Word =

Article ID: 221264

Article Last Modified on 11/25/2002

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q221264



SYMPTOMS
When you open an HTML file in Microsoft Word 2000 that contains a table with a border and a caption, the caption has a border. In contrast, if you open the same file in a Web browser, the table caption does not have a border.

For example, if you create the following HTML code in a Notepad file and save the file as a text document with the "htm" extension:     when you open the HTML document in Microsoft Word, the caption at the top of the table is bordered, as in the following example:

Caption for Table A

Text

A B C

What a test!



CAUSE
Word converts the caption into a table cell and applies the border to it.



WORKAROUND
If you do not want the border around the caption, but you plan to share the file by using a Web browser, you do not need to do anything. The caption will appear above or below the table, without a border, when opened in a Web browser.

If you plan to share the file with other Word users and you do not want the caption to appear inside a bordered table cell, place the caption outside of the table. To do this, follow these steps:
 * 1) Open the file in Word.
 * 2) Select the table caption row and delete it. On the Table menu, point to Delete, and then click Rows.
 * 3) Insert a new caption. To do this, click Caption on the Insert menu.
 * 4) In the Caption dialog box, type the caption you want. Select the options you want and then click OK.
 * 5) Save the file.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
The caption is an HTML element that can be placed immediately after the table tag. In HTML, a caption appears either above or below the table.

Additional query words: bordered incorrect wrong import imported

Keywords: kbbug kbnofix KB221264

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.