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.
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.
- In the Shared Borders dialog box, follow these steps:
- 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.
- 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.
- Click OK to close the Shared Borders dialog box.
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.
Method 1: Make Changes to a Shared Border Contained on a Web Page
To make changes to a shared border, follow these steps:- 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.
- 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.
- 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: Select the Comment text, and then type or insert what you want to appear in the shared border. - On the File menu, click Save to save the changes you made to your Web page and the shared border.
- On the File menu, click Close to close your Web page.
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:- 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.
- Expand the _borders folder. To do this, click the plus-sign (+) that is to the left of the _borders folder.
- Right-click the shared border file (Top.htm, Bottom.htm, Left.htm, and Right.htm) that you want change, and then click Open.
- 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: To do so, click the Comment text, and then type or insert what you want to appear in the shared border. - On the File menu, click Save to save the changes that you made to the shared border file.
- On the File menu, click Close to close the shared border file.
Remove a Shared Border
To remove 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 remove a shared border. To do this, right-click the page that you want, and then click Open.
- On the Format menu, click Shared Borders.
- In the Shared Borders dialog box, follow these steps:
- In the Apply to section, do one of the following:
- Click All pages if you want to remove the shared border from all the pages in your Web.
- Click Current page if you only want to remove the shared border on your open page.
- 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.
- 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.
- In the Apply to section, do one of the following: