• Register Today It's free! This box and some ads will disappear once registered!

Web page background image question!


section525

sextion525
Elite Explorer
Moderator Emeritus
Joined
February 11, 2001
Messages
14,804
Reaction score
25
City, State
Red Bluff, Ca
Year, Model & Trim Level
1975 Ford Bronco 4x4
I want to make an image the background on a web page. The catch is.. I want it to be 100% of the window's height and width. Basically, I want it to scale itself to the window size (much like a table does). Any ideas?
 


Join the Elite Explorers for $20 per year. Gets rid of the ads! New $5 per month "try out" option.

Explorer Forum has probably saved you that much already, and will continue to save you money as you learn how to diagnose fix problems yourself and learn which modifications work without having to experiment on your own. Elite Explorer members see no advertisements, no banner ads, no double underlined links, can add their own profile photo, upload photo attachments in all forums, and Media Gallery, create and save more private Conversations, and more. Join Today. Your support is greatly appreciated.




MO_GUY

Elite Explorer
Joined
October 17, 2002
Messages
1,523
Reaction score
1
City, State
Farber, MO
Year, Model & Trim Level
2000 Explo Sport 4.0 SOHC
could you post which image you want here?
 




section525

sextion525
Elite Explorer
Moderator Emeritus
Joined
February 11, 2001
Messages
14,804
Reaction score
25
City, State
Red Bluff, Ca
Year, Model & Trim Level
1975 Ford Bronco 4x4




MO_GUY

Elite Explorer
Joined
October 17, 2002
Messages
1,523
Reaction score
1
City, State
Farber, MO
Year, Model & Trim Level
2000 Explo Sport 4.0 SOHC
ok edited this post from last time, i just looked at their coding

<body background="bg2.jpg" text="#000000" leftmargin="0" topmargin="0" bgproperties="fixed" marginwidth="0" marginheight="0">

use that, to get the image right click and choose "set as wallpaper" or "set as background" then once you've done that go to find files from the start menu and search for "Internet Explorer Wallpaper" you can then open that file and edit it's size


then upload it to your server and use the code above
 




MO_GUY

Elite Explorer
Joined
October 17, 2002
Messages
1,523
Reaction score
1
City, State
Farber, MO
Year, Model & Trim Level
2000 Explo Sport 4.0 SOHC
by looking at the size of that part of the frames, it looks as the image should be about 600 pixels high and maybe 400-500 pixels wide
 




section525

sextion525
Elite Explorer
Moderator Emeritus
Joined
February 11, 2001
Messages
14,804
Reaction score
25
City, State
Red Bluff, Ca
Year, Model & Trim Level
1975 Ford Bronco 4x4
That's kind of my problem. My screen is set on 1280x1024. The left frame is 140 pixels wide. That means I would need that image to be 1140 pixels wide. If it was only 500 pixels wide, it would tile a couple times. Which the boss doesn't want. It seems like there has to be a way for the image to change size with the window. I know you can set the attributes of an img with 100$ for height and width and it will do that. But I can't find anywhere how to make a background image do it! :mad:
 




MO_GUY

Elite Explorer
Joined
October 17, 2002
Messages
1,523
Reaction score
1
City, State
Farber, MO
Year, Model & Trim Level
2000 Explo Sport 4.0 SOHC
from the top of my head i can tell you now that i have never seen any website whose background image would rescale itself by knowing the viewers screen resolution, it's totally impossible to do that as if the site were highly trafficed(sp?) the image size would have to change frequently and it would change for everyone once they refresh the page.....if you look hard enough there may be some type of java script but i cant really help you out any further, its beyond my experience
 




section525

sextion525
Elite Explorer
Moderator Emeritus
Joined
February 11, 2001
Messages
14,804
Reaction score
25
City, State
Red Bluff, Ca
Year, Model & Trim Level
1975 Ford Bronco 4x4




MO_GUY

Elite Explorer
Joined
October 17, 2002
Messages
1,523
Reaction score
1
City, State
Farber, MO
Year, Model & Trim Level
2000 Explo Sport 4.0 SOHC
ok, so in your body tags, try the same percentage thing
 




section525

sextion525
Elite Explorer
Moderator Emeritus
Joined
February 11, 2001
Messages
14,804
Reaction score
25
City, State
Red Bluff, Ca
Year, Model & Trim Level
1975 Ford Bronco 4x4




Top