[html5] table with fixed headers

Martin Gainty mgainty at hotmail.com
Thu Jul 10 03:39:18 PDT 2014


For FF diehards ( i cannot live without firebug) like myself ..sadly this wont work
Im trying to convince larry that attributes which are increased/attenuated attributes have to be set by an uber-entity (e.g. Struts/JQuery or JSF/JSP) before the response is generated..there is no other way if you want to use FF (which i do!)

Many Thanks to Gary for the css bits on scrolling tbody..this is a most helpful contribution!

Does anyone else have HTML/CSS/JS contribution for dynamically sized attributes (before larry dusts off the checkbook)?
M-


Date: Wed, 9 Jul 2014 19:36:58 -0500
Subject: Re: [html5] table with fixed headers
From: gary.kk5st at gmail.com
To: larry.martell at gmail.com
CC: mgainty at hotmail.com; help at lists.whatwg.org

My apologies if this post doesn't properly address the list; I'm on GMail and damed if I can find the 'reply to list' function.


To my knowledge, NS6+ and Mozilla were the only browsers to properly support a scrolling tbody. For whatever reason, Firefox dropped this support sometime after 2006.


Simply, the css was
tbody {

  overflow: auto;
  height: xxx;
  }

The work-around for IE and Opera was fairly straight forward and still works for them as well as for Chrome and Firefox. See http://web.archive.org/web/20060421055400/http://garyblue.port5.com/webdev/scrollingtable.html for a working example, written in 2004 and modified in 2006 for non-compliant browsers, which now sorrily includes FF.


I'd consider this far more robust than using js to modify behavior.


cheers,

gary


On Wed, Jul 9, 2014 at 4:50 PM, Larry Martell <larry.martell at gmail.com> wrote:

On Sat, Jul 5, 2014 at 9:58 AM, Larry Martell <larry.martell at gmail.com> wrote:


> On Sat, Jul 5, 2014 at 9:40 AM, Martin Gainty <mgainty at hotmail.com> wrote:

>>

>>> Date: Sat, 5 Jul 2014 04:11:37 -0700

>>> From: webmaster at tsmchughs.com

>>> To: help at lists.whatwg.org

>>

>>> Subject: Re: [html5] table with fixed headers

>>>

>>> On 7/4/14, 1:42 PM, Larry Martell wrote:

>>> > On Fri, Jul 4, 2014 at 4:26 PM, Brian Tremblay wrote:

>>> >>

>>> >> the code posted on jsfiddle *does* have it:

>>> >>

>>> >> <td aligh=right>BAZ</td>

>>> >>

>>> >> Regardless of who wrote that code, it is incorrect.

>>> >

>>> > I wrote it. I'm sorry. One typo pasted 15 times. I've fixed it:

>>> > http://jsfiddle.net/NyGbt/

>>>

>>> No, you didn't:

>>>

>>>

>>> <td aligh=right>FOO</td>

>>>

>>>

>>> But don't fix it on my account. I can't guarantee a solution.

>>>

>>> --

>>> Brian Tremblay

>>

>> MG>perhaps the time has come for Larry to open up his checkbook and pay for

>> a correct solution?

>

> That has crossed my mind. I am close to getting it working with this:

> http://nevcal.com/eclectic/UltimateScrollingTable.html

>

> But I would much prefer a pure CSS solution. How much would you want

> to get for that?



Just to close out this thread, I ended up using

http://nevcal.com/eclectic/UltimateScrollingTable.html

_______________________________________________

Help mailing list

Help at lists.whatwg.org

http://lists.whatwg.org/listinfo.cgi/help-whatwg.org



-- 
90% of everything is crap, and that may be optimistic.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140710/80ca2304/attachment.htm>


More information about the Help mailing list