When you were learning how to create tables within tables were you confused?

Wingznut

Elite Member
Dec 28, 1999
16,968
2
0
Originally posted by: DaFinn
When you were learning how to create tables withint ables were you confused?


Ables... I am sure you meant apples, right! I like apples!
I figured he was talking about the character from the bible.. Y'know, Cain and Ables? ;)

 

notfred

Lifer
Feb 12, 2001
38,241
4
0
It's not tough if you stay organized. Make sure you define where one table starts and ends clearly.

Example:

<table>
<tr>
<td>stuff</td>
<td>more </td>
</tr>
<tr>
<td>

<!-- new table starts here -->
<table>
<tr><td></td></tr>
</table>
<!-- new table ends here -->

</td>
<td>Yet more stuff</td>
</tr>
</table>
 

Zugzwang152

Lifer
Oct 30, 2001
12,134
1
0
Originally posted by: Tyler
It's not tough if you stay organized. Make sure you define where one table starts and ends clearly.

Example:

<table>
<tr>
<td>stuff</td>
<td>more </td>
</tr>
<tr>
<td>

<!-- new table starts here -->
<table>
<tr><td></td></tr>
</table>
<!-- new table ends here -->

</td>
<td>Yet more stuff</td>
</tr>
</table>

in this example, not tabbing looks a lot cleaner...although theres just a few cases where tabbing is counter-productive...
 

Juniper

Platinum Member
Nov 7, 2001
2,025
1
0
<table>
<tr>
<td>
<!-- inner table -->
<table>
<tr>
<td></td>
</tr>
</table>
<!-- end of inner table -->
</td>
</tr>
</table>
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
With "sloppy" code that is out of order in closing table cells, you can create some clean-looking tables. For instance, you can start a nested table inside a TR (not a TD) and get something that looks like this:

Check it
 

xirtam

Diamond Member
Aug 25, 2001
4,693
0
0
Initially I was a bit confused, but if you make enough of them, it's second nature. Don't sweat it, and don't quit.
 

jjones

Lifer
Oct 9, 2001
15,424
2
0
Not confused but I did learn early the value of tabbing and commenting when nesting several tables.
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
Compared to 6502 assembly tables were pretty easy. Besides the tabbing suggestions you might also try varying the capitalization, for example use <CAPS> for the outer table rows / columns, <lowercase> for the inner table.