Click to See Complete Forum and Search --> : Asking for opinions on tables:


Mr Initial Man
10-31-2009, 04:33 AM
I once told someone that in rare cases, it is proper to nest tables. Would you guys agree?

matthewjumpsoff
10-31-2009, 11:06 AM
why would you ever need to do that?

Mr Initial Man
10-31-2009, 11:35 AM
why would you ever need to do that?

I run a fantasy sports site. On one page, there is information about each player arranged as tabular data. One column is "Basketball Statistics." This, IN AND OF ITSELF, is tabular data. Therefore, a nested table would be at least semantically correct.

matthewjumpsoff
10-31-2009, 09:21 PM
ah right... well <table> is a valid child element of <td>, and in the situation you described it does seem to make sense to structure ur html like that

opifex
11-02-2009, 03:13 AM
You can definitely nest tables.
But I would avoid it if possible, it can get VERY messy!
Why not have "independent" tables for each of your stats sections?

Mr Initial Man
11-02-2009, 04:15 AM
You can definitely nest tables.
But I would avoid it if possible, it can get VERY messy!
Why not have "independent" tables for each of your stats sections?

Probably because it would get hard to follow. Each player had a stat table, and there are, I think, 8 players in this ONE table.

ixora
11-11-2009, 09:49 PM
Table is not a four-letter word. I can nest tables inside tables inside tables with no difficulty whatsoever. These days, of course, I only use css for layout (we must be politically correct!)

Mr Initial Man
11-11-2009, 11:24 PM
Table is not a four-letter word. I can nest tables inside tables inside tables with no difficulty whatsoever. These days, of course, I only use css for layout (we must be politically correct!)

Thing is, it had absolutely zip to do with layout. It had to do with a subset of information for each player.

Mr Initial Man
11-12-2009, 05:10 PM
Now that the page is complete, I can demonstrate. The nested tables are in the statistics column:

http://fba.furtopia.org/main_roster.php

ixora
11-12-2009, 09:15 PM
Opps! How can I get all this egg off my face?

Mr Initial Man
11-13-2009, 04:09 AM
Opps! How can I get all this egg off my face?

Admitting it's there is a good start. :D

Seriously, though. I think my example is one of the rare times that a nested table is semantically correct.