how to make a site automatically resize?

windows

Guest
hi i'm just an amature when it comes to web-design and theres a lot of things i've been wondering. the one thing is how do people get their pages to resize when a people with different resolutions get on?<br />
<br />
like this site<br />
<br />
<!-- m --><a class="postlink" href="http://www.cmgww.com/historic/malcolm/">http://www.cmgww.com/historic/malcolm/</a><!-- m --><br />
<br />
tried it at 800x600 all the way up to 1280x190 and looked perfect. how do they do it?}:-)<!--content-->When you wonder those things, view the source code of the page (right-click -- view source), you will see that most of the tables used to format the layout use percentage values:<br />
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="97%"> <br />
<br />
<br />
this causes the tables to expand and contract with the size of the browser window.<!--content-->
 
Back
Top