Log in

View Full Version : Auto adjusting heighth of website



aaronc5150
02-08-2011, 09:50 PM
Hello. I just created a website and when I load it on computers with different size screens/resolutions, it doesn't size the same. The width of the site is fine, but the height is not. On my laptop where i created the site, it takes up the full screen (length wise), but when I load it on my desktop it only covers a portion of the screens length. I am using Dreamweaver for the site. How could I set it up so that I don't have this issue?

Thanks in advance,
Aaron

molendijk
02-10-2011, 04:51 PM
You can make the height and width of a div scalable with something like <div style="position:absolute; left:20px; right: 20px; top: 20px; bottom: 20px"></div>.
This method is used at: http://www.yannsauvajon.com.
===
Arie Molendijk.

djr33
02-11-2011, 12:10 AM
That's a cool example. I like the way the elements move as the screen resizes. Thanks for posting it.