Backgound in FP 2K3.

  • Thread starter Thread starter Wiley Coyote
  • Start date Start date
W

Wiley Coyote

I've edited a theme and applied my own background. The problem is is that it
duplicates itself on the page. I only want it to show up once on the page,
I've changed the size and related properties in Photoshop, but to no avail.

Can anyone assist please.

TX.
 
Use CSS to prevent the background from tiling. Put this in an embedded or
an externally linked stylesheet -

body { background-repeat:no-repeat; }
 
The reason the image duplicates is because it has to fill the page. So
becuase your image didn't fill the requirements it simply duplicated to make
up for it.

I also have a suggestion for you. Try this as a substitution:

<img src="whatever_your_image_is.bmp" style="position : absolute;left :
0;top : 0">

Hope that helps,

Mike
 
I beleive I understand what you are suggesting. My question is, where do I
put this piece of code, in every page? That would seem to be awkward.

Thanks for the suggestion.
 
Ignore it. You cannot position a background image like that. Read my
suggestion - it will work.
 
Hi Murry, I'm not sure how to do this. I created a new Style (ex: MyStyle)
and tried to use Format, Style Sheet Links to link to my style sheet, but I
cannot find it. It is listed in Format -> Styles...

Doh???
 
Hi Murry, I'm not sure how to do this. I created a new Style (ex: MyStyle)
and tried to use Format, Style Sheet Links to link to my style sheet, but I
cannot find it. It is listed in Format -> Styles...

Doh???
 
Redefine the body tag in the FORMAT | Style dialog (select "body" and click
on Modify. Now for the inexplicably weird stuff. Select BORDER > Shading,
and you will see the option there for repeat.

Of course the simple way to do this is to enter the following directly in
the head of the page -

<style type="text/css">
<!--
body { background-repeat:no-repeat; }
-->
</style>
 
You can also get there with <body> > Properties > Advanced > Body Style >
Format > Border > Shading

Byzantine, huh?

By the way, I left the "Format" out of the previous option choices between
Modify and Border.

Also, to enable that field, you must have already applied your background
image.
 
May work, but FP 2003 themes are applied using CSS (always as the last style to cascade)
- so the theme may override the embedded style
Best to add the style to the Theme

Format | Theme | Customize | Text - select More Text Styles
Select the body tag and then Modify | Border | Shading and select
Repeat - select no-repeat
Attachment - select fixed
Vertical Position - select center
Horizontal Position - select center
OK | OK | OK | OK & Save As a new theme name
Apply the new theme name to all pages


--




| Redefine the body tag in the FORMAT | Style dialog (select "body" and click
| on Modify. Now for the inexplicably weird stuff. Select BORDER > Shading,
| and you will see the option there for repeat.
|
| Of course the simple way to do this is to enter the following directly in
| the head of the page -
|
| <style type="text/css">
| <!--
| body { background-repeat:no-repeat; }
| -->
| </style>
|
| --
| Murray
| ============
|
| | > Hi Murry, I'm not sure how to do this. I created a new Style (ex: MyStyle)
| > and tried to use Format, Style Sheet Links to link to my style sheet, but
| > I cannot find it. It is listed in Format -> Styles...
| >
| > Doh???
| >
| > | >> Use CSS to prevent the background from tiling. Put this in an embedded
| >> or an externally linked stylesheet -
| >>
| >> body { background-repeat:no-repeat; }
| >>
| >> --
| >> Murray
| >> ============
| >>
| >> | >>> I've edited a theme and applied my own background. The problem is is
| >>> that it duplicates itself on the page. I only want it to show up once on
| >>> the page, I've changed the size and related properties in Photoshop, but
| >>> to no avail.
| >>>
| >>> Can anyone assist please.
| >>>
| >>> TX.
| >>>
| >>
| >>
| >
| >
|
|
 
It's a beautiful thing when one asks a question and many volunteers assist
in a solution. This bad boy does the trick. However, when I browse for the
background image, FP wants to use this path:

.../../../../../../Projects/FP2003 Projects/Paladin/images/paladinbckgrnd.jpg

I need to use ../images/paladinbckgrnd.jpg (obviously the path structure
will not be the same and why would one want to use the exact path rather
than a relative one?)

When I do so, the background image is not displayed.

???
Again, thanks to all for the assistance, it is appreciated.
 
You have indicated a relative path. If you want the image path to be ../images, then it must be in
that location within the current open web / site when you browse to it.

--
==============================================
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.
==============================================
 
Hey Thomas. The file is located in the /images dir. If I browser to the
file, all works well and when I view in browser (F12) the background is
displayed. When I publish the web site, it is not displayed. I realize that
the path is a PHYSICAL path to the file, but when I try to use a relative
path such as ../images/filename.jpg it is not displayed.

The fix was to change the path in Format -> Theme.

All is welll now.

Thanks...
 
.../../ is not a physical/absolute path, it is relative path. A physical/absolute path would be one
with either the full domain or the full filesystem path to the file.

--
==============================================
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.
==============================================
 
Back
Top