View Full Version : max tables within tables?
Jason
03-17-2003, 11:15 PM
Is there some max number of tables that can be imbeded into one another. Like a table within a table within a table within a table.....? If not, what are the semantics to get them to imbed deeper?
Jason
Jason
03-17-2003, 11:20 PM
nm, figured it out. Thanks though.
Jason
zoobie
03-18-2003, 07:18 AM
What did you come up with? Years ago, NS could only handle 3 but I think they've gotten better. IE has always been able to handle as many as I wished...I think. :o
redhead
03-18-2003, 11:19 AM
methinks you cant nest tables at all in xHTML?...
brothercake
03-18-2003, 11:45 AM
Originally posted by redhead
methinks you cant nest tables at all in xHTML?...
Nesting data tables has a specific semantic meaning - "this data node is itself a table of data" - so don't nest tables unless that's what you mean.
Tables are not for page layout; tables are for data.
But if you insist - 3 is the practical limit; netscape 4 chokes after that; I can explain why if you like.
liorean
03-18-2003, 02:38 PM
Heh - ie chokes after just a few levels too - I had a table built consisting of 2x2 cells, each cell consisting of the same number of cells, and so on, for 10 levels. Only mozilla managed to render it on less than a minute, of all windows browsers I tested.
zoobie
03-18-2003, 07:25 PM
Hmm...I nested 6 in IE without a hitch. :p
I don't believe it's the nested tables per se that crash browsers. It's how you handle them. Sizes that don't add up and so on and what you put in them and how.
If you have Moz or Netscape 6 or 7 type this into the address bar: "resource:///res/samples/test6.html". That document contains two tables, one 6 and the other 8 levels deep. Both work fine even in Netscape 4. (The file is in your Moz directory + /res/samples/test6.html)
eggman
03-21-2003, 12:14 AM
Most of my current programming involves IE6 on intranets and I have nested tables ad nauseum without an error. My tables are all generated by Javascript so I don't know if that matters.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.