how do i change background on every page at once?

  • Thread starter Thread starter Josh
  • Start date Start date
J

Josh

I have a website in Frontpage that is 200+ individual pages. To avoid the
time it takes to go into each individual page and change teh background, is
there a way to format every page at once?
 
You could do it with CSS (not exactly short of the code) but something like:

<style>
body {background-image: /images/bg.jpg}
</style>

Then all you need do is put that in an external css file, attached the css
file to all pages; then you have one file (the CSS file) to update if you
want to change the background.

Again, keep checking back in case someone corrects my CSS above.
 
If you have a image already applied as a background then, just change the image, but keep the same
filename.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
To apply that external CSS file to every page you could do a global find and
replace to change:
</head>
to:
<link rel="stylesheet" href="name_of_stylesheet.css">
</head>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top