Re: Table Scrolling

Daniel Brooks wrote:
> 
> On Wed, 24 Jun 1998, Lakshmi Raj wrote:
> 
> :)Stephanos Piperoglou wrote:
> :)>
> :)> On Wed, 24 Jun 1998, Lakshmi Raj wrote:
> :)>
> :)> > I know that this cannot be done with HTML 4.0, but is there a way to do
> :)> > this in HTML 5.0?
> :)>
> :)> Well, if anyone cared to actually recognize TFOOT, THEAD and TBODY it
> :)> is. Set your TBODY to a fixed size and scrolling overflow and you're
> :)> done. IE4 recognizes these elements according to its documentation, but
> :)> I have a feeling this wouldn't work. Haven't checked it out in IE5 yet.
> :)
> :)When I started experimenting with table scrolling I thought that the
> :)TBODY tag with overflow property will fix the problem. Unfortunately,
> :)IE4 does not support the CSS overflow property in TBODY even though it
> :)is a block level element. DIV and SPAN tags are the only tags that
> :)support the overflow property in IE4.
> :)
> :)Even if this problem is fixed in IE5, my problem (see figure below) of
> :)being able to scroll all the columns horizontally except the first one
> :)cannot be solved unless the overflow property is supported in COLGROUP
> :)tag.
> :)
> :)My problem:
> :)            |---------------------|
> :)            |      Heading1       |
> :) |----------|----|----|-----|-----|---------|
> :) |          |    |    |     |     |         |
> :) |          |    |    |     |     |Vertical |
> :) | Heading2 |    |    |     |     |Scroll   |---> Fixed this with 
> :) |          |    |    |     |     |Bar      |     DIV tag and 
> :) |          |    |    |     |     |         |     overflow:scroll
> :) |----------|---------------------|---------|     property.
> :)            |Horizontal Scroll Bar| ------------> Need help here.
> :)            -----------------------
> :)
> :)Any suggestions on how I can fix the horizontal scrolling are welcome.
> :)Thanks.
> :)Lakshmi.
> 
> I don't know much about CSS, but it seems like you could split the table
> into just the first column and then all the rest, then try to use CSS to
> specify the position of the two tables. If you could specify the location
> relative to the corner of the browser window for the first one, then the
> second relitave to the paragraph above, it should work. Problem is that I
> don't know if you can specify location relative to the window, but it is
> worth a try.
> 
> The only other problem I could think of is that the second table would be
> visible behind the first, but the you could just specify a background
> color (probably that matches the rest of the doc) for the cells.
> 
> You could always put the first column in a seperate frame, but that would
> be an ugly solution.
> 

Your solution will fix the horizontal scrolling problem but will cause
problems with the vertical scrolling. Let me explain, when the user is
finished with horizontal scrolling and goes to vertical scroll, I have
to remember the columns visible at that point and incorporate only those
columns during vertical scrolling. When the user goes from vertical
scrolling to horizontal scrolling I have to do the opposite. This can
get quite messy for something as simple as scrolling. That is why, I am
proposing that the COLGROUP tag support overflow property.

Thanks.
Lakshmi.

Received on Thursday, 25 June 1998 14:02:32 UTC