Layout cells do not autostretch correctly when margins are applied in FrontPage 2003

Article translations Article translations
Article ID: 833691 - View products that this article applies to.
Expand all | Collapse all

SUMMARY

This article describes a problem where a column does not correctly expand automatically to fill a browser window in Microsoft Office FrontPage 2003. The problem may occur when margins are applied to a table or to a cell that also uses autostretch. To resolve this problem, follow the steps that are described in the "Resolution" section of this article.

SYMPTOMS

In Microsoft Office FrontPage 2003, a column will not correctly expand automatically to fill as much of a browser window as possible (this functionality is referred to as autostretch) by using the Make Column Autostretch functionality, if a margin has been applied to the column by using the Cell Formatting task pane.

CAUSE

This issue occurs if you apply margins to the same layout table or to the same cell that you want to apply autostretch.

WORKAROUND

To work around this issue, apply the layout cell autostretch before you apply a margin or any other cell formatting. To apply autostretch, follow these steps:
  1. In Page view, at the bottom of the document window, click Design.
  2. To activate a layout table, move the pointer over the border of the table.

    Click the border after the border turns green.
  3. On the column width label or on the row height label, click the arrow to display the drop-down menu, and then click Make Row Autostretch or click Make Column Autostretch.
To apply a margin, follow these steps:
  1. Right-click the layout cell where you want to apply a margin, and then click Cell Formatting.
  2. Enter the size of the margins that you want to apply (in pixels) in the appropriate Margin fields (Left, Top, Right, and Bottom) in the Cell Formatting task pane.

    In this example, 5 was typed in the Left box of the Margin section.
Note You can apply autostretch to only one cell in a layout table. The corresponding rows or columns in the layout table must be set at a fixed width or height.

Note Applying a margin to a layout table or to a cell creates the unintended effect of disabling access to the width and the height properties by using the main menu or the shortcut menu. An additional embedded table and cell is also added to the overall table. This in turn disables autostretch that was enabled in step 3 earlier while enabling autostretch in the newly added embedded cell. To work around this unwanted effect, follow these steps:
  1. Drag the right edge of the FrontPage 2003 program window so that you can see the newly embedded cell that appears in the Design tab or in the Split tab of FrontPage 2003.
  2. Click the Split tab.
  3. In the lower Design area of the Split tab, point to the 5 pixel margin area that you created in step 2 of the 'Apply a margin' section.

    The outer border should turn green. Click the margin.
  4. The code that is related to the area that you just clicked is now highlighted in the upper Code view of the Split tab.
  5. At the top of the highlighted section of the code, double-click to select the integer value in the Width parameter of the element, Table.

    Type100% to replace the Width parameter integer value.
  6. If you created a 5 pixel Left margin in step 2 of the "Apply a margin" section, the first TD element that you see will look similar to the following:
    <td width="5">
  7. In the second TD element after the Table element that you just modified, double-click to select the integer value in the Width parameter of this second TD element.

    Type100% to replace the Width parameter integer value. In the Design view of the Split tab, point to a cell in the modified table to view the results of your code change. Or, click the Design tab to view the code change.
  8. Drag the right edge of the FrontPage program window back and forth so that you can see the whole layout table or cell autostretch correctly with the new margin included.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

Properties

Article ID: 833691 - Last Review: February 5, 2007 - Revision: 1.3
APPLIES TO
  • Microsoft Office FrontPage 2003
Keywords: 
kbprb KB833691

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com