• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

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

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? 😉

 
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>
 
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...
 
<table>
<tr>
<td>
<!-- inner table -->
<table>
<tr>
<td></td>
</tr>
</table>
<!-- end of inner table -->
</td>
</tr>
</table>
 
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
 
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.
 
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.
 
Back
Top