Background Picture Size

C

Chad

When I use the preview in explorer my background pictures starts again but it
looks fine in the frontpage preview and design mode. Is there any way to fit
the picture to the size of the screen?

Thanks.
 
A

Anne Troy

Since many people still use 600 x 800 and others use much larger, the only
"nice" way to have a background picture is to have one that already repeats
again and again...like a pattern or wallpaper. A single picture doesn't
really work nicely for most background purposes, IMHO.
************
Hope it helps!
Anne Troy
www.OfficeArticles.com
 
W

Windsun

Actually hardly anyone uses 800 x 600 anymore - less than 2% at most, and
some sites that keep statistics show it under 1%.
 
M

Murray

Use CSS to prevent the image from tiling -

body { background-repeat: no-repeat; }

Place that in an embedded or an external stylesheet. You can let FP do this
for you (at least FP2003) by using FORMAT | Style and editing the body tag's
style.
 
T

Tom J

Windsun said:
Actually hardly anyone uses 800 x 600 anymore - less than 2% at
most, and some sites that keep statistics show it under 1%.

Others that keep statistics show it as high as 42%, at least that's
what I just pulled from my site!! It depends on who is visiting the
site. There are millions of viewers with larger screens that are also
viewing the web at 800 X 600.

Tom J
 
M

Murray

And the screen sizes tell you nothing about the browser viewport size, which
is really what you need to be concerned about.
 
W

Windsun

Oops - my mistake, was thinking of 640 x 480 - just had a big discussion on
another webmaster forum about that and it was still on my brain :/
 
D

Dennis

Murray, would you please elaborate on how to do this, or direct me to a
source of more information. I am a FP(2003) newbe, I have never done anything
with style sheets before.

I found this forum thread searching for help on this exact same delema.

Thanks
 
M

Murray

Can you show me your page and tell me where you want the background image?
That way I can customize the suggestion.
 
M

Murray

Well, I guess it's obvious -

Change this -

</head>

<body bgcolor="#000000" background="Sunset2.jpg">

to this -

<style type="text/css">
<!--
body { background-repeat:no-repeat; background-position:center;
background-attachment:fixed; }
-->
</style>
</head>

<body bgcolor="#000000" background="Sunset2.jpg">

(you could get the same thing by selecting the <body> tag on the tag
selector (FP2003), selecting its Properties, selecting the Advanced tab,
clicking the Body style... button, clicking the Format button, selecting
Border (!), clicking on the Shading tab (!), and you will find those options
there (finally)!

See if either of those give you what you want.
 
D

Dennis

Great, thanks Murray.

ps; I especially appreciate the added instructions for using the FP menu
structure. I just learned alot'

Dennis
 
F

frugalmin

Murray,
I have a simular dilema as Chad. I want to put a bacground picture to
cover the page without tiling. I tried to follow your instructions but I'm
still having problems getting the picture to the size I want, and it still
tiles. I've got Front Page 2003. I read a couple of books on html code and I
kind of understand it, but, I don't know anything about CSS. I'm trying to
create a site for my business and add some flare.
You seem to know what your talking about any help you give would be greatly
appreciated. Thanks
 

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