Make sure the WIDTH statement in all your <table> and <td> tags use a
percentage instead of a fixed width.
For example:
<TABLE WIDTH="400"> will create a table with a width of 400 pixels.
<TABLE WIDTH="50%"> will create a table with a width that's 50% of
available space (be it the web browser window, or a table within a table)
So for further example:
<TABLE WIDTH="98%"> <--- this creates the initial table (you can use
100%, but this gives a "cushion")
<TR><TD> <--- this creates a table row and a table data cell
<TABLE> <--- this starts a second table set, using 100% of
the 98% above
<TR><TD WIDTH="50%"> <--- creates a second table row and a table data
cell, using 50% of the available 100% created above
this is text in cell 1 <--- this is text in cell 1
</TD> <--- this closes the data cell, but leaves the row
open
<TD WIDTH="50%"> <--- makes the second cell, using the other 50% of
the 100% created above
this is text in cell 2 <--- this is text in cell 2
</TD></TR> <--- closes the second table data and table row
</TABLE> <--- closes the second table set
</TD></TR> <--- closes the first table data and table row
</TABLE> <--- closes the inital table created at the very
top
hope this helps a bit
David Jones - CCNA
Network Specialist
Premier Systems, Inc
800.268.1884 x7918
515.226.7918
[EMAIL PROTECTED]
Scott.Sotherland@hurlburt.
af.mil To:
[EMAIL PROTECTED]
Sent by: cc:
[EMAIL PROTECTED] Subject: [WhatsUp Forum]
Resizing tables on pages
pswitch.com
11/22/2002 07:35 AM
Please respond to
WhatsUp_Forum
Excuse the HTML/ASP ignorance here but can anyone provide me some ideas on
how to get ALL tables on the page to resize to match the maximum size? What
I mean is that if I bring up a large map that fills the screen and the user
has to scroll left or down the top and bottom headers don't adjust to the
same size. It looks very poor.
Thanks!
Scott
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/