WD2000: HTML Table Appears Wider When Edited in Word

ID: Q220462


The information in this article applies to:


SYMPTOMS

When you open a Web page for editing that contains a table and linked images, the table may be much wider than in the original Web page, and certain hyperlinks may appear to be missing.


CAUSE

This problem may occur because the HTML source code contains percentage (%) characters in its dimensional settings.

For example:


   <TD WIDTH="58%">&#xa0;</TD>
   <TD WIDTH="139%">&#xa0;</TD>
   <TD WIDTH="201%">&#xa0;</TD>
   <TD WIDTH="138%">&#xa0;</TD>
   <TD WIDTH="58%">&#xa0;</TD> 


RESOLUTION

To resolve this problem, you can remove the percentage (%) signs from all dimensional definitions in the HTML source code.

To remove the percentage (%) signs, do the following:

  1. Open the Web page in Word.


  2. On the View menu, click HTML source.


  3. In the Microsoft Development Environment (Script Editor) window, click Edit and then click Find and Replace.


  4. In the Find box, type %.


  5. Click Find.


  6. Before clicking Replace, make sure the percentage (%) sign is not being used in an otherwise valid location; for example, as part of the text of the Web page.


  7. Repeat steps 5 and 6 until all the replacements you want to make have been done.


  8. Close the Find and Replace dialog box.


  9. On the File menu, click Save.


  10. In the Microsoft Development Environment (Script Editor), on the File menu, click Exit.


The Web page should now appear as expected.

Additional query words:


Keywords          : kbdta wd2000 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 28, 1999