On-topic: HTML/JS help please

David Cantrell david at cantrell.org.uk
Fri Feb 5 15:08:57 GMT 2010


On Fri, Feb 05, 2010 at 03:01:32PM +0000, James Laver wrote:
> On Fri, Feb 5, 2010 at 2:56 PM, David Cantrell <david at cantrell.org.uk> wrote:
> > On Fri, Feb 05, 2010 at 02:39:01PM +0000, James Laver wrote:
> >> On Fri, Feb 5, 2010 at 2:25 PM, David Cantrell <david at cantrell.org.uk> wrote:
> >> > Naively wrapping <tr>s in <div>s and toggling their style.display
> >> > doesn't work, presumably because <div> isn't kosher in a <table>.
> >> Use <tbody> instead?
> > Can you have multiple <tbody>s in a table, and can they nest?
> Yes, no. To have tbodys inside a tbody would require another table.

Then it won't work, because in the case of very large trees, I want the
user to be able to collapse arbitrary sub-trees, which are nested.  And
putting another table in would reset all the column widths and screw up
the display.

-- 
David Cantrell | Bourgeois reactionary pig

    Fashion label: n: a liferaft for personalities
    which lack intrinsic buoyancy


More information about the london.pm mailing list