Center background image

S

Scoot

How can I center a background image in FP2k so that all
reslutions show it in the center with a black background?
I cannot find a rlated command in any menu.
 
T

Thomas A. Rowe

Do you actually want to center an image on a black background or does the image already have the
black background?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
S

Scott

Ihas a black background but is not big enough to fill the
screen. I want all pages to look like the splash screen.

www.7thsenseband.com

-----Original Message-----
Do you actually want to center an image on a black
background or does the image already have the
 
T

Thomas A. Rowe

You would have to use CSS to assign the background color to the page and to center the image. I
don't use CSS, so you will have to wait for someone else to provide the solution.

I ask the question just make it clear what you were asking, so that it would be easier for someone
to provide a solution.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
J

Jim Buyens

Try Format, Style, HTML Tags, body, Modify, Format, Border, Shading. Then,
under patterns, specify:

Backgrouond Picture: your picture
Vertical Position: center
Horizontal Position: center
Repeat: no-repeat

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
J

Jack Brewster

As Thomas pointed out, your best bet is to use CSS (Cascading Style Sheets)
for this.

First, add a new stylesheet to your website (should be under File | New -
I'm using FP2002 and I believe they changed that a bit, so you'll have to
find it) and add the following to it:

body {
background-color: #000; /* sets the background color to black */
background-image: url(http://www.7thsenseband.com/mainback.jpg);
background-repeat: no-repeat; /* keeps the image from tiling */
background-position: center; /* centers the image on the page */
}

Save that with the file name of style.css at the root of your website (same
place as your homepage).

Now, in the head (between the <head> and </head> tags) of each page, add the
following line:

<link rel="stylesheet" type="text/css" href="/style.css">

In FP2002, there's a quicker way to add style sheet links to multiple pages
in your site, but again, I think that's different that in FP2000. Just in
case, though, the command in FP2002 is accessed by clicking Format |
Stylesheet Links. It's just been so long since I used FP2000, I can't
remember if it's there or not.

Also, you can name the stylesheet file anything you want, but "style.css" is
sort of a defacto name.

If you'd like to learn more about CSS, a good primer can be found here:
http://www.w3schools.com/css
 
Top