|
|
 |
RE: FN-FORUM: [CSS] Freezing thead
date posted 21st August 2003 17:21
Hi Richard, very nice...
I tried that one too but I get an access denied error on the htc doc
IE is embedded in a VB app - maybe the cause?
Ant.
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On
> Behalf Of Richard Bennett
> Sent: 21 August 2003 16:17
> Subject: Re: FN-FORUM: [CSS] Freezing thead
>
> Hi,
> Moz not IE
>
> All this talk got me thinking, so I wasted half a day on it.
> Here's a binary behaviour that gives IE the same
> functionality as Moz, in
> this regard:
>
> It should work on Moz/IE, and degrade nicely for the others.
>
> test-page:
> http://gritechnologies.com/examples/html/FixedTableHeaderTest.html
>
> The behaviour:
> http://gritechnologies.com/examples/html/table_head_fix.htc
>
> just put both in the same folder for it to work.
>
> I cobbled this together from some bits I found on the net.
> It's not perfect
> (width in % less than 100 doesn't work, absolute values, or
> 100% ok though),
> but if you know javascript you can edit the htc as needed.
>
> Notice that Moz needs :
>
> tbody{
> overflow: auto;
> height: 300px;
> }
>
> and IE needs:
>
>
> Cheers,
> Richard.
|
 |
|