PUB97: Publisher 97 Creates Web Pages Longer Than Required (157858)



The information in this article applies to:

  • Microsoft Publisher 97

This article was previously published under Q157858

SUMMARY

When you export a publication as HTML, Publisher ensures the size and aspect of your document are presented as accurately as possible using tables. This means all pages in a Web site are the same height.

Microsoft Publisher 97 does this by filling any blank space at the end of the document with an empty HTML table cell. You can remove this empty cell to remove the extra space.

WARNING: ANY USE BY YOU OF THE HTML CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this HTML code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

MORE INFORMATION

Microsoft Publisher creates Web pages using complex HTML tables. It tries to duplicate your publication as closely as possible. If your publication page has a lot of empty space at the bottom, so will the Web page.

If you want to remove this extra space, you can open your Web page in an HTML authoring program such as Microsoft FrontPage. Or you can open your Web page in a text editor such as Notepad and manually remove the empty table cell.

Here is an example of some HTML code created by Microsoft Publisher:
   </tr></td>
          <td></td>
          </tr>
          <tr>
       <td height=696></td>
       <td colspan=2> </td>
   </table>

   </body>
   </html>
				
In this example you can remove the following line to shorten the Web page:
   <td height=696></td>
				
NOTE: Microsoft Technical Support does not support modifying HTML code with Microsoft Publisher 97. Anytime you directly edit your HTML document, you should always work with a copy of your original

REFERENCES

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

154714 PUB97: Can't Open HTML Documents in Publisher

154844 PUB97: Publisher Does Not Support All HTML Features


Modification Type:MinorLast Reviewed:8/17/2005
Keywords:kbconversion kbhtml kbinfo KB157858