changing the background of multiple pages

S

Sean Stevens

Is it possible to change the background graphic for multiple pages without
having to open each one? Thanks in advance.
 
J

Jens Peter Karlsen [FP-MVP]

Yes, use a stylesheet to control it. When you change the stylesheet
the change will show on all pages that uses the stylesheet.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
T

Trevor L.

To be more precise,

1. Create a file named "style.css" - use Notepad or any text editor.

2. Put this code itnto it:
body { background: url("xxx.jpg") }
Other specs can be inside the {}

3. In each page where you want the background image, add this in the <head>
section:
<link rel="stylesheet" type="text/css" href="style.css">
 
F

fido

Is it possible to change the background graphic for multiple pages without
having to open each one? Thanks in advance.

As other users have pointed out, the answer is "yes", as long as you
haven't built the pages yet. If you are setting up a new site with
multiple pages and you anticipate the need to change the background
image from time to time, a stylesheet will be your answer.

If the pages already exist and you need to change their existing
background image, the answer is probably "no". You may have to deal
with them all individually. You could try opening all the pages in
HTML view and doing a global Find and Replace (Ctrl+H), as long as the
snippet of code for the background is identical in all the pages.

While you're doing that, it might be a good moment to consider
introducing a stylesheet, to allow you to make such site-wide style
changes at some time in the future.

fido
 
A

Andrew Murray

If you're using FP2003, then create a dynamic web template, with the image
in the background you want, then apply the DWT to all pages.
 
T

Thomas A. Rowe

Yes, do a search and replace in HTML/Code View.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Top