Click to See Complete Forum and Search --> : Aligning Tables II


AntonioMainenti
01-16-2003, 07:02 PM
I want to make one table that looks like:

AB | Ab | aB | ab

And one that looks like:

AABB | AABb | AaBB | AaBb

The |'s represent the cell walls.

I want them to be stacked on top of eachother so the |'s will align vertically.

Because of how I'm making this, I need the two tables to be the cells of a main table.

<table><tr><td>

<table><tr>
<td>AB</td><td>Ab</td><td>aB</td><td>ab</td>
</tr></table>

</td></tr><tr><td>

<table><tr>
<td>AABB</td><td>AABb</td><td>AaBB</td><td>AaBb</td>
</tr></table>

</td></tr></table>

That's how the code looks now, and it doesn't make the cells align vertically.

Note: I do not want anyone telling me I should make it all one table. The table is much more complicated than what you can see here.

Thanks, Alan.

pyro
01-16-2003, 07:08 PM
In each of your <td> tags, give it a width, and have the top and bottom tables correspond.

pyro
01-16-2003, 08:14 PM
Originally posted by Dave Clark
What's the purpose of posting the same question twice?Wish people wouldn't do that... :(