Microsoft KB Archive/196778

= How To Insert, Edit, and Remove Shared Borders in FrontPage 2000 =

Article ID: 196778

Article Last Modified on 7/14/2004

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q196778





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

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

IN THIS TASK
SUMMARY What are Shared Borders? How to Insert a Shared Border How to 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

How to Remove a Shared Border REFERENCES



SUMMARY
Use this step-by-step guide to insert and edit shared borders.

back to the top

What are Shared Borders?
Microsoft FrontPage allows you to use shared borders, a feature that automatically applies one or more common border elements to all pages or to specific pages within your Web.

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

back to the top

How to 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, select the Web you want to open and click Open. Open the page on which you want to add a shared border. To do this, right-click the page you want and click Open on the shortcut menu. On the Format menu, click Shared Borders. In the Shared Borders dialog box, follow these steps:  In the Apply to section, select either All pages if you want to add the shared border to all of the pages in your Web, or select Current page if you only want to add the shared border to your open page. Select the type of border you want to add to the page. For example, to add a top border, click to select the Top check box.</li> Click OK to close the Shared Borders dialog box.</li></ol> </li></ol>

back to the top

How to 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 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 Hypertext Markup Language (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 edit 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, select the Web you want to open and click Open.</li> Open the page on which you want to change a shared border. To do this, right-click the page you want and click Open on the shortcut menu.</li> On your Web page, click in the shared border and make the changes you want.

NOTE: If you have not made changes to the shared border previously, FrontPage placed a Comment component which 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 hidden _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, select the Web you want to open and click Open.</li> On the Tools menu, click Web Settings.</li> On the Advanced tab, click to select the Show hidden files and folders check box. Click Apply. Click Yes to the following message:

The changes you made in the Advanced Settings tab will take effect after the Web is refreshed from the server.

Do you want to refresh the Web now?

</li> Click OK to close the Web Settings dialog box.</li> Expand the _borders folder. To do this, click the plus-sign (+) to the left of the _borders folder.</li> Right-click the shared border file (Top.htm, Bottom.htm, Left.htm, and Right.htm) you want to make changes to and click Open on the shortcut menu.</li> Make the changes to the shared border you want.

NOTE: If you have not made changes to the shared border after inserting it, FrontPage placed a Comment component in the shared border file which 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 the shared border file.</li> On the File menu, click Close to close the shared border file.</li></ol>

back to the top

How to Remove a Shared Border
To remove a shared border, 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, select the Web you want to open and click Open.</li> <li>Open the page on which you want to remove a shared border. To do this, right-click the page you want and click Open on the shortcut menu.</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, select either All pages if you want to remove the shared border from all of the pages in your Web, or select Current page if you only want to remove the shared border on your open page.</li> <li>Click to clear the type of border 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, select Reset borders for current page to Web default and click OK.</li></ol> </li></ol>

back to the top