FP98: Background Styles Page Not Updated After Publishing Web to New Location

ID: Q183045


The information in this article applies to:


SYMPTOMS

Updating the file you use for background styles in your Web may not work after you publish your FrontPage Web to a new location.


CAUSE

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).


RESOLUTION

To work around this behavior and update your files, use one of the following methods.

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.


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.



STATUS

Microsoft has confirmed this to be a problem in the versions of Microsoft FrontPage listed at the beginning of this article.


MORE INFORMATION

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.

Additional query words: 98


Keywords          : kbdta fpexp 
Version           : WINDOWS:98
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 29, 1999