Center Background Picture ?

R

Ray Mooney

I want to use a picture as my background, except when I insert the picture
in the page it becomes "tiled" and the entire picture is not displayed.

Is there a way to set the picture as my background and have the entire
picture centered and displayed? I can't seem to find a setting for that.

It is a "frame" page if that makes a difference.


Thanks in advance for any help!!
 
M

Murray

It is a "frame" page if that makes a difference.

This will drive you nuts.
Is there a way to set the picture as my background and have the entire
picture centered and displayed? I can't seem to find a setting for that.

Use CSS -

<body style="background:position:center;background-repeat:no-repeat;">
 
R

Ray Mooney

Where do I insert the body style adjustment?
When I put it in before or after the background command my picture
disappears.....

<body background="Images/Sunset-Sea%20Oats.jpg"><body>
 
A

ANONYMOUS

Just use something like this:

<body background="cells.gif">

Where cells.gif is your image file. Make sure it is in the correct
location.

hth
 
R

Ray Mooney

That does not do what I want. This is a frame-page and the picturre is
"tiled" on the page and I want it centered.
 
S

Stefan B Rusynko

You can not apply a background to the frameset
- only to each frame which is a separate window

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| That does not do what I want. This is a frame-page and the picturre is
| "tiled" on the page and I want it centered.
|
|
| | > Just use something like this:
| >
| > <body background="cells.gif">
| >
| > Where cells.gif is your image file. Make sure it is in the correct
| > location.
| >
| > hth
| >
| >
| > Ray Mooney wrote:
| > >
| > > I want to use a picture as my background, except when I insert the
| picture
| > > in the page it becomes "tiled" and the entire picture is not displayed.
| > >
| > > Is there a way to set the picture as my background and have the entire
| > > picture centered and displayed? I can't seem to find a setting for that.
| > >
| > > It is a "frame" page if that makes a difference.
| > >
| > > Thanks in advance for any help!!
|
|
 
R

Ronx

You can only have one <body> tag in a page.

First, rename all your files and folders to remove spaces. Replace the
spaces with hyphens or underlines.

Then replace your <body> tag with (should all be on one line):

<body style="background: url(Images/Sunset-Sea-Oats.jpg) center
no-repeat;">

Note that spaces in file and folder names can break links.
 
R

Rob Giordano \(Crash\)

Someone once said; "This will drive you nuts"


| You do know about frames and how they cause physical disabilities, right?
|
| --
| Murray
| --------------
| MVP FrontPage
|
|
| | > That does not do what I want. This is a frame-page and the picturre is
| > "tiled" on the page and I want it centered.
| >
| >
| > | >> Just use something like this:
| >>
| >> <body background="cells.gif">
| >>
| >> Where cells.gif is your image file. Make sure it is in the correct
| >> location.
| >>
| >> hth
| >>
| >>
| >> Ray Mooney wrote:
| >> >
| >> > I want to use a picture as my background, except when I insert the
| > picture
| >> > in the page it becomes "tiled" and the entire picture is not
displayed.
| >> >
| >> > Is there a way to set the picture as my background and have the
entire
| >> > picture centered and displayed? I can't seem to find a setting for
| >> > that.
| >> >
| >> > It is a "frame" page if that makes a difference.
| >> >
| >> > Thanks in advance for any help!!
| >
| >
|
|
 
A

ANONYMOUS

I should have said that you need to enter the tag on each and every page
appearing in the frameset. This means, format your each page as you
wish then link them to your frames.

hth
 

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

Top