Jump to content

making a screen move to the right while stretching the window


Recommended Posts

I'm having problems finging a tutor that explains how to do what im trying to do.

Im wanting to make a square border around my webpage then when you stretch the screen to the right. the entire box square and all its content moves to the right as you are stretching it.

 

example below

http://utopia-game.com/shared/

 

 

I have this div wraped around the entire page. got rid of any other css on the page

 

div.background
{
position:absolute;
width:950px;
height:690px;
background:url(images/planet2.jpg);
background-repeat:no-repeat;
border:2px solid black;
}

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.