Override default TAGLVL (nested open tags) limit
I'm using nested tables to create deeply nested tree structures in HTML, and have now hit the TAGLVL limits of both Firefox and IE (basically they don't render past a certain level). I know that TAGLVL is defined in the SGML declaration for HTML, but is there some way to override this setting on certain pages?
Thanks for your help,
Phil
Busy posted this at 22:32 — 4th March 2005.
He has: 6,151 posts
Joined: May 2001
You must have some seriously nested tables (10+ deep), are you sure it's the limit and not an error in the coding? does the page validate at w3c.org ?
if it's for tree structures why don't you use CSS
As for over riding, only thing I can think of is to keep it in quirks mode, what DOC tag do you use?
Renegade posted this at 23:26 — 4th March 2005.
He has: 3,022 posts
Joined: Oct 2002
Tried using CSS Positioning instead? Its usually a lot easier.
dk01 posted this at 07:12 — 5th March 2005.
He has: 516 posts
Joined: Mar 2002
With 1 posting i am thinking this guy doesn't respond
-dk
philmwebb posted this at 22:31 — 5th March 2005.
They have: 3 posts
Joined: Mar 2005
Thanks DK01 for your confidence in new forum members - just cos we've not had to use such a forum previously does not exclude us from its use I trust?!
The nesting *is* complex and also uses cells to produce tree lines, and effectively tables of information (see attached screenshot). The problem is definitely a TAGLVL issue, cos it occurs at exactly the same level of nesting (regardless of other content) on all pages, and the nesting levels matches that of a simple test page which simply has tables in tables (recurse...)
I'm familar with DIVs and their use in layout, but I fear will struggle to reproduce this layout, without ultimately hitting the same taglvl problem (albeit further down the hierarchy)
Will check up on my DOC (when I'm back in work on Monday) cos presumably there's a version of the HTML spec that has better TAGLVL settings (although it seems the browsers implement their own setting anyway, since the corruption happens at different levels in Firefox and IE)
Thanks anyway folks. Your help is appreciated - hope I can help you too one day (esp. DK01:D)
dk01 posted this at 23:12 — 5th March 2005.
He has: 516 posts
Joined: Mar 2002
Sorry phil. Welcome back. Nothing against you. I shouldn't have jumped to that conclusion. Glad you are back.
-dk
philmwebb posted this at 10:23 — 7th March 2005.
They have: 3 posts
Joined: Mar 2005
Thanks again folks for your suggestions - I've managed to crack it with only a couple of table->div changes in my recursive nesting algorithm. This should see us right for a while yet.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.