Print Page | Close Window

Scalable Website

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=1772
Printed Date: 29 March 2026 at 9:19am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Scalable Website
Posted By: CardMSG
Subject: Scalable Website
Date Posted: 11 April 2003 at 2:45pm

I'm curious what the best way is to make a site that's scalable?  I have an idea about how to build the tables to make it look the way I want, but I'm really wondering how you keep your content looking good?  So it doesn't get too stretched or smashed.

I wish it was possible to set a maximum and minimum table width that would expand or shrink to fit within the given range.  I'd like to have a site that will adjust down to 800x600 and have a maximum stretch of 1024x768.  If anyone knows a good way to do this, I'm very interested.

I've always made my sites a maximum of 760px to accomidate those running at 800x600, but with so many bigger monitors and higher resolutions used today, it can make the site look like it's all crammed in the center.  I like the way Web Wiz Guide stretches to fit and doesn't seem to get messed up.

Thanks for any suggestions...




Replies:
Posted By: MadDog
Date Posted: 11 April 2003 at 2:58pm

Originally posted by CardMSG CardMSG wrote:

I wish it was possible to set a maximum and minimum table width that would expand or shrink to fit within the given range.  I'd like to have a site that will adjust down to 800x600 and have a maximum stretch of 1024x768.  If anyone knows a good way to do this, I'm very interested.
Every heard of using percents in table widths?

width="100%" makes the table stretch to whatever size the persons screen size is



-------------
http://www.iportalx.net" rel="nofollow">


Posted By: faubo
Date Posted: 11 April 2003 at 2:59pm

instead of using fix sizes for your tables you put 100% or 99%.

This way it will work with any resolution



-------------
http://www.conhecerparaconservar.org - I don't know how to make you click here


Posted By: CardMSG
Date Posted: 11 April 2003 at 3:23pm
I understand the table can be set to a %, but the content in the table will get stretched if it's viewed at a higher resolution, so I was wondering if there were any tips to laying out the content so this didn't happen.


Posted By: KCWebMonkey
Date Posted: 12 April 2003 at 8:27am

Everything HAS to get stretched to be able to expand to higher resolutions.

Just make sure that your main table has percents % for the table width, and also for the main TD's in your table. usually i do something like this:

<table width="95%" border="0" cellspacing="0" cellpadding="0">
 <tr>
  <td width="30%">
   <!-- this table is for the left navigation -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
     <td>&nbsp;</td>
    </tr>
    <tr>
     <td>&nbsp;</td>
    </tr>
   </table>
  </td>
  <td width="70%">
   <!-- this table is for the main body -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
     <td>&nbsp;</td>
    </tr>
    <tr>
     <td>&nbsp;</td>
    </tr>
   </table>
  </td>
 </tr>
</table>



Posted By: Bluefrog
Date Posted: 08 May 2003 at 9:48pm

Originally posted by CardMSG CardMSG wrote:

I understand the table can be set to a %, but the content in the table will get stretched if it's viewed at a higher resolution, so I was wondering if there were any tips to laying out the content so this didn't happen.

Use nested tables where some don't use % and one side (left or right) does. Then plan your content layout to stretch inside there.

Or you can just set one TD to an absolute amount and then let the rest stretch naturally:

<TABLE>
<TR>
 <TD width=200>
 no stretch
 </TD>

 <TD>
 
 stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot  stuff in here should stretch out a lot

 </TD>
</TR>
</TABLE>

 

Blah blah blah... I think you get the idea.



Posted By: Bunce
Date Posted: 09 May 2003 at 3:41am

Or use CSS positioning if you're not too worried about users who have older browsers.

Much more powerful.

Cheers,
Andrew



-------------
There have been many, many posts made throughout the world...
This was one of them.


Posted By: Bluefrog
Date Posted: 10 May 2003 at 12:35pm
Originally posted by Bunce Bunce wrote:

Or use CSS positioning if you're not too worried about users who have older browsers.

*snip*

Perfectly right. Check out w3.org and see how they do it. It's pretty slick.

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net