[thelist] layers not frames
Hassan Schroeder
hassan at webtuitive.com
Fri Nov 22 13:23:01 CST 2002
Andrew Maynes wrote:
> ok I tried putting the table inbetwen the <div> but alas nothing. I then ttried
> the class within the <table> and agin nothing.
>
> Any ideas?
> Semantics about boxes aside, sure, overflow will work with a table
> (or better, a tbody, leaving your table's headers and footers fixed)
> set to an explicit height.
Hm. OK, I've made a test case, though I'm getting slightly different
results than I remember from last time -- ??
try { remember(); } catch ( Exception SeniorMoment ) { feh(); }
finally {
Anyway, Moz 1.1/W2K doesn't seem to recognize overflow and a fixed
height on TABLE, but does on TBODY (which is actually preferable,
I'd say). IE 5.5 fails spectacularly by assigning the TBODY height
to each *row* - really bizarre. Opera 7 ducks the issue entirely.
}
So, it's useful and valid, but browser support is spotty. Surprise.
Here's the TBODY CSS I used in my test case with a very long table:
tbody {
height: 300px;
overflow: scroll;
}
HTH!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
More information about the thelist
mailing list