Microsoft KB Archive/825499

= How to insert, remove, and modify shared borders in FrontPage 2003 =

Article ID: 825499

Article Last Modified on 5/21/2007

-

APPLIES TO


 * Microsoft Office FrontPage 2003

-





For a Microsoft FrontPage 98 version of this article, see 173435.



For a Microsoft Office FrontPage 2000 version of this article, see 196778.



For a Microsoft Office FrontPage 2002 version of this article, see 318321.

IN THIS TASK

 * SUMMARY
 * Insert a Shared Border
 * Edit a Shared Border
 * Method 1: Make Changes to a Shared Border Contained on a Web Page
 * Method 2: Make Changes to the Shared Border File
 * Remove a Shared Border
 * REFERENCES



SUMMARY
This article describes how to insert and edit shared borders.

With Microsoft FrontPage, you can use shared borders, a feature that automatically applies one or more common border elements to all pages or to specific pages in your Web.

Shared borders are page regions (top, bottom, left, and right) that are used to hold content that you want to appear consistently throughout pages in the current Web.

back to the top

Insert a Shared Border
To insert a shared border, follow these steps:  In FrontPage, open your Web. To do this, click Open Web on the File menu. In the Open Web dialog box, click the Web that you want to open, and then click Open. Open the page where you want to add a shared border. To do this, right-click the page that you want, and then click Open. On the Format menu, click Shared Borders. By default, support for shared borders is turned off in FrontPage 2003. To turn on support for shared borders, follow these steps:  On the Tools menu, click Page Options. On the Authoring tab, click to select the Shared Borders check box. Click OK.</li></ol> </li> In the Shared Borders dialog box, follow these steps: <ol style="list-style-type: lower-alpha;"> In the Apply to section, click All pages if you want to add the shared border to all the pages in your Web, or click Current page if you only want to add the shared border to your open page.</li> Select the type of border that you want to add to the page. For example, to add a top border, click to select the Top check box. You can click to select more than one check box to add more shared borders.</li> Click OK to close the Shared Borders dialog box.</li></ol> </li></ol>

back to the top

Edit a Shared Border
To make changes to a shared border, you can open a page in the Web that uses the shared border or you can open the file that contains the shared border that you want to change.

Note In FrontPage, when you open a page that contains shared borders the Web page appears to use a table format. If you view the HTML code by clicking the HTML tab, you only see the HTML for the central page. You do not see any of the HTML code for the shared borders.

back to the top

Method 1: Make Changes to a Shared Border Contained on a Web Page
To make changes to a shared border, follow these steps: <ol> Start FrontPage and open your Web. To do this, click Open Web on the File menu. In the Open Web dialog box, click the Web that you want to open, and then click Open.</li> Open the page where you want to change a shared border. To do this, right-click the page that you want, and then click Open.</li> On your Web page, click in the shared border and make the changes that you want. You can also double-click the comment in the shared border to open a Comment dialog box to make your changes.

Note If you have not made changes to the shared border previously, FrontPage created a Comment component that shows the following text:

Comment: This border appears in all pages in your Web. Replace this comment with your own content.

Select the Comment text, and then type or insert what you want to appear in the shared border.</li> On the File menu, click Save to save the changes you made to your Web page and the shared border.</li> On the File menu, click Close to close your Web page.</li></ol>

back to the top

Method 2: Make Changes to the Shared Border File
Shared borders are stored in four files (Top.htm, Bottom.htm, Left.htm, and Right.htm) in the _borders folder of your Web. To make changes directly in the shared border file, follow these steps: <ol> In FrontPage, open your Web. To do this, click Open Web on the File menu. In the Open Web dialog box, click the Web that you want to open, and then click Open.</li> Expand the _borders folder. To do this, click the plus-sign (+) that is to the left of the _borders folder.</li> Right-click the shared border file (Top.htm, Bottom.htm, Left.htm, and Right.htm) that you want change, and then click Open.</li> Make the changes to the shared border.

Note If you have not made changes to the shared border after inserting it, FrontPage placed a Comment component in the shared border file. The Comment component shows the following text:

Comment: This border appears in all pages in your Web. Replace this comment with your own content.

To do so, click the Comment text, and then type or insert what you want to appear in the shared border.</li> On the File menu, click Save to save the changes that you made to the shared border file.</li> On the File menu, click Close to close the shared border file.</li></ol>

back to the top

Remove a Shared Border
To remove a shared border, follow these steps: <ol> <li>In FrontPage, open your Web. To do this, click Open Web on the File menu. In the Open Web dialog box, click the Web that you want to open, and then click Open.</li> <li>Open the page where you want to remove a shared border. To do this, right-click the page that you want, and then click Open.</li> <li>On the Format menu, click Shared Borders.</li> <li>In the Shared Borders dialog box, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>In the Apply to section, do one of the following: <ul> <li>Click All pages if you want to remove the shared border from all the pages in your Web.</li> <li>Click Current page if you only want to remove the shared border on your open page.</li></ul> </li> <li>Click to clear the check box for the type of border that you want to remove from the page. For example, to remove a top border, click to clear the Top check box.</li> <li>Click OK to close the Shared Borders dialog box.

Note To reset the shared borders of the current page, click to select the Reset borders for current page to web default check box, and then click OK.</li></ol> </li></ol>

Note You can also use the dynamic Web templates in FrontPage 2003 as a powerful and customizable solution to replace shared borders in cases where you want common elements applied to a group of pages.

back to the top

<div class="references_section">