Microsoft Knowledge Base Email Alertz

(212571) - If you align a picture frame vertically with a line of text inside a text frame, and then preview your publication as a Web page, the picture may not line up precisely. This problem is more pronounced if your text frame contains empty lines, or if...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 212571 - Last Review: June 29, 1999 - Revision: 1.0

PUB2000: Problems Aligning Graphics to Text When Viewing Web Page

This article was previously published under Q212571

SYMPTOMS

If you align a picture frame vertically with a line of text inside a text frame, and then preview your publication as a Web page, the picture may not line up precisely.

This problem is more pronounced if your text frame contains empty lines, or if you have customized the line spacing inside the text frame. Pictures aligned with text at the bottom of a text frame show this symptom more than pictures aligned with text near the top of a text frame.

CAUSE

When you convert your publication to HyperText Markup Language (HTML), Publisher accurately converts the size and placement of the text frame to a cell in an HTML table. However, the precise placement of text within that cell is determined by your Web browser, not by Publisher. Some factors that contribute to this behavior are as follows:
  • Publisher uses the HTML break (<br>) tag to start a new line. Some Web browsers ignore this tag when it appears on a line by itself.
  • The Web browser interprets how much space to show between lines of text.
  • While you can use HTML code to specify the typeface and font size used to format your text, HTML does not actually include the font. If a specific font is not installed on your computer, the Web browser substitutes another font.

WORKAROUND

To make a picture appear level with a certain line of text, use several text frames instead of one text frame. Start a new text frame for each line of text you want to line up precisely with the picture.

NOTE: If you overlap a picture frame and a text frame, or apply a BorderArt design to your text frame, that frame will be converted to a picture when you convert your file to HTML. While this also assures your picture is aligned correctly with your text, it causes your Web page to download more slowly.

MORE INFORMATION

This behavior is caused by a limitation in HTML. You may encounter similar issues creating Web pages in any HTML authoring program.

APPLIES TO
  • Microsoft Publisher 2000 Standard Edition
Keywords: 
kbprb kbhtml KB212571
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate