I designed a website in my friends house, then when I came home to do some more work on it, the background logo was all out of place, but if i resized the window it would appear there just like in my friends house.

I was wondering if there is any XML code so i can make various backgrounds, and the website automaticly picks which one to use depending on the users resolution?