This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Front Page > January 2005 > Automatic background resizing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Automatic background resizing
Si

2005-01-31, 1:07 pm

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.
Thomas A. Rowe

2005-01-31, 1:07 pm

Not possible for a background image.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Si" <Si@discussions.microsoft.com> wrote in message
news:95521124-833D-486E-AC1D-665645638AC7@microsoft.com...
> 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.



Ronx

2005-01-31, 7:23 pm

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>

--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.


"Si" <Si@discussions.microsoft.com> wrote in message
news:95521124-833D-486E-AC1D-665645638AC7@microsoft.com...
> 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.



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews