Shadowing Posted February 17, 2012 Share Posted February 17, 2012 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; } Quote Link to comment https://forums.phpfreaks.com/topic/257165-making-a-screen-move-to-the-right-while-stretching-the-window/ Share on other sites More sharing options...
Shadowing Posted February 17, 2012 Author Share Posted February 17, 2012 Ahh I figured it out Finally figured out what keywords i had to google for it. Keeping my website always centered. Quote Link to comment https://forums.phpfreaks.com/topic/257165-making-a-screen-move-to-the-right-while-stretching-the-window/#findComment-1318433 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.