Updating the file you use for background styles in your Web may not work after you publish your
FrontPage Web to a new location.
Back to the top
FrontPage creates an absolute reference to the file you use for the background styles in the
original Web. For example, if your Web is published on http://localhost/myweb
and you publish it to a new location, such as http://myserver/myweb,
the reference to the background styles file still points to the original
location (http://localhost/myweb/stylepage.htm).
Back to the top
To work around this behavior and update your files, use one of the following methods.
Back to the top
Method 1: If you haven't published your Web to a new location
| 1. | Open the original Web in FrontPage Explorer.
|
| 2. | Update the file you are using for the background styles.
|
| 3. | Publish your Web to the new location.
|
Back to the top
Method 2: If you have published your Web to a new location
| 1. | Open the Web you published to the new location in FrontPage Explorer.
|
| 2. | Open the page that contains the link to the background styles page.
|
| 3. | On the File menu, click Page Properties, and then click the Background
tab.
|
| 4. | Click Browse.
|
| 5. | Select the page you want to use for background styles from your current
Web. Click OK twice.
|
| 6. | Save the page.
|
| 7. | Repeat steps 2 through 6 for each page that links to the background
styles page.
|
Back to the top
Microsoft has confirmed this to be a problem in the versions of Microsoft
FrontPage listed at the beginning of this article.
Back to the top
When you decide to use another page as the source for background and color settings,
FrontPage reads the background and color settings from that page and writes those
settings to the current page. These settings are attributes of the <body> tag.
FrontPage also adds the stylesrc attribute to the <body> tag as a reference to
the styles page. Hence, any changes made to the styles page will be reflected in the
page from which it gets it's background styles and colors.
Back to the top