Adding a page background image via css (RH8)
Hi all,
We've added a background image to appear on every page in the project, by specifying it in the css file which every page uses..
e.g.
body {
background-image: url("template_files/blue_snip.gif");
}
this works fine in terms of displaying the image in the built output, but...
When I build my output (WebHelp), it adds a "template_files" folder within every folder of the output, containing a copy of the background image.
I felt that this was a wasteful way of building, since I don't want 50+ copies of the same image in my output build, so my 2nd approach was to put a fixed URL in the css to point to the location on the server where the image is.. e.g.
body {
background-image: url("http://myserver/WebHelp/template_files/blue_snip.gif");
}
This works fine too, but now every time I work on a page in my project, when I press save I get a pop-up box saying:
Exception
Can't save local version of file 'http://myserver/WebHelp/template_files/blue_snip.gif' since there is no data in memory for it
This didn't happen in RH7..
Any ideas on how I can resolve this?
