RE: Stacked tables (I'll betcha this is a stupid question, but here goes):

by "Michael Wilson" <mwilson(at)xionmedia.com>

 Date:  Mon, 23 Jul 2001 12:15:14 -0400
 To:  "'Peggi & Ben Rodgers'" <woodduck(at)mbay.net>,
<hwg-techniques(at)mail.hwg.org>
 In-Reply-To:  mbay
  todo: View Thread, Original
Hmmm maybe I am misunderstanding you, but if what you want is to have
something like:

Header Table content
Middle Table content
Footer Table content

You simply use something like this:

<table width="500" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="250">Header col-1</td>
    <td width="250">Header col-2</td>
  </tr>
</table>
<table width="500" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="250">Middle col-1</td>
    <td width="250">Middle col-2</td>
  </tr>
</table>
<table width="500" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="250">Footer col -1</td>
    <td width="250">Footer col -2</td>
  </tr>
</table>

I have used 2 td's within each table, but you can use as many as you
need. Also you don't HAVE to nest these to keep them stacked this way.
If you need spacing between each table, just use <br> tags.


HTH,
Mike


============================================
Michael Wilson - CTO/Secretary
http://www.xionmedia.com
--------------------------------------------
Xion Media, Inc. Web Development
P: 704-398-2454  F: 704-398-2063
============================================
"In the middle of difficulty lies opportunity." --Albert Einstein 

> -----Original Message-----
> From: owner-hwg-techniques(at)hwg.org 
> [mailto:owner-hwg-techniques(at)hwg.org] On Behalf Of Peggi & Ben Rodgers
> Sent: Monday, July 23, 2001 10:23 AM
> To: hwg-techniques(at)mail.hwg.org
> Subject: Re: Stacked tables (I'll betcha this is a stupid 
> question, but here goes):
> 
> 
> Hi,
> 
> You need to nest these tables or they won't stay put.  Create 
> one table 
> then place your three inside it.  That should do the trick.


> >Sounded like great advice and I want to take it.  But I find that
> >sometimes, and I can't seem to figure out when, when I stack tables:
> >
> ><.table>
> >...
> ><./table>
> ><.table>
> >...
> ><./table>
> ><.table>
> >...
> ><./table>
> >
> >The second table seems to misplace to the right, rather than 
> under the
> >first table, and the last table seems to place itself to the 
> right of the 
> >second.
> >
> >So, instead of
> >
> >header table
> >middle table
> >footer table
> >
> >What's displayed is:
> >
> >header table middle table footer table
> >
> >To solve this, I have to put lots and lots and lots and LOTS of 
> ><.p></p>
> >in there.  And then, I get the mess again as soon as I 
> change the width of 
> >my browser page or change the number of lines in an earlier table.
> >
> >Is there something that I'm supposed to put between stacked 
> tables to 
> >keep
> >them stacked on the straight and narrow?

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA