Jump to content

making a screen move to the right while stretching the window


Shadowing

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;
}

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.