Automatic background resizing

G

Guest

Hi guys,

I have a little question I hope you can answer for me :)

I want to create a website with a background picture. I have tried this
using the Themes option and just ticking the "Background Picture" box on the
page properties and my problem persists. :(

The problem is, I want the background picture to resize to the size of the
screen the user is using to a maximum of 1280 x 1024. If I resize the
picture using Paintshop Pro to 1280 x 1024 and then view the website on 1024
x 768 you can only see part of the background picture.

Similarly, if I resize the background picture to 800 x 600 in Paintshop Pro
and then view the webpage on 1280 x 1024, the background does that "tile"
type effect where the pciture starts again at each edge where the original
finishes which is also not what I want.

I just want the picture to "dynamically" resize depending on the screen
resolution of the user.

Thanks for nay assistance in advance.
 
T

Thomas A. Rowe

Not possible for a background image.

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

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

Ronx

This cannot be done.
But if it could, how would you deal with a screen resolution of 2560x1024,
with the browser opened in a window 800x600?
Or, more conventionally, a 1024x768 screen resolution, with a full screen
browser with the favourites sidebar displayed?

You can stop the background image tiling using CSS in the <head> section of
the page:

<style type="text/css">
body {background-repeat: no-repeat;}
</style>
 

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