Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

hi all!, newbie question regarding backgrounds



9:20 pm on Apr 26, 2003 (gmt 0)

Inactive Member
Account Expired


hello everyone, just joined the boards, looks like a great community :)

alright, basically this is my problem. Im trying to make a background image stay stationary in one spot, not tiled, or stretched, just absolutely centered. I somehow messed up the script to where if the window sized is adjusted, the background conforms as such, leaving the objects which are on top of the background in their place, and the background moving.

can anyone tell me whats wrong or what can be done to fix this?, any help would be greatly appreciated, thank you :)

[edited by: heini at 11:21 pm (utc) on April 26, 2003]
[edit reason] removed url per TOS / thanks! [/edit]

10:49 pm on Apr 26, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 22, 2002
votes: 0

I think the background-attachment [w3schools.com] and background-position [w3schools.com] properties may be what you're after.