[html5] using colspan with nested html tables

Larry Martell larry.martell at gmail.com
Wed May 7 16:31:07 PDT 2014


On Wed, May 7, 2014 at 4:44 PM, Bill Barron <Bill.Barron at guidestone.org> wrote:
> At StackOverflow, Larry specified that the requirement for nested tables stems from the table sorting code he is using, not from the need to style the table in novel ways with CSS.
>
> I would recommend formatting the tables using W3C standard tags including thead, tbody, caption, colgroup and col. Then I would reevaluate the table-sorting code I am using. Consider something that sorts rows within the <tbody> tag when th elements in very last row within <thead> element are clicked.


Thanks for the reply. I fixed this by doing just what you said - I
added a thead and modified the js code to use the last rows of the
thead.


>
> On May 7, 2014, at 4:13 PM, "Brian Tremblay" <webmaster at tsmchughs.com> wrote:
>>
>>> On 5/7/14, 12:24 PM, Larry Martell wrote:
>>> Please see my question at stackoverflow:
>>>
>>> http://stackoverflow.com/questions/23505433/using-colspan-with-nested-html-tables
>>
>> Are you expecting an answer here to your question on stackoverflow? Or inviting people to go to stackoverflow and answer there? I don't have an account on stackoverflow. If you want an answer here, you should probably ask here.
>>
>> I did look over the question quickly, and I can't see why you need to nest tables. You should be able to do pretty much anything you want with css applied to a single table.
>>
>> --
>> Brian Tremblay
>> _______________________________________________
>> Help mailing list
>> Help at lists.whatwg.org
>> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
> _______________________________________________
> Help mailing list
> Help at lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org



More information about the Help mailing list