On-topic: HTML/JS help please

Bob MacCallum uncoolbob at gmail.com
Fri Feb 5 15:14:51 GMT 2010


<tr style="display: none" id="xyz">
has worked for me in the past.  why do you need to wrap it in a div?
is it not standards compliant?

On Fri, Feb 5, 2010 at 3:01 PM, James Laver <james.laver at gmail.com> 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.
>
> --James
>



-- 
http://darwintunes.org - a test-tube for cultural evolution
http://evolectronica.com - survival of the funkiest
http://compare-stuff.com - confused? you will be!
http://twitter.com/darwintunes
http://twitter.com/bobmaccallum


More information about the london.pm mailing list