W3C home > Mailing lists > Public > www-html@w3.org > June 1998

Re: Table Scrolling

From: Daniel Brooks <sfkrsve2@scfn.thpl.lib.fl.us>
Date: Wed, 24 Jun 1998 22:17:23 -0400 (EDT)
To: Lakshmi Raj <lakshmi@replicon.com>
cc: Stephanos Piperoglou <stephanos@internet.com>, "www-html@w3.org" <www-html@w3.org>
Message-ID: <Pine.SUN.3.95.980624221106.7678B-100000@scfn>
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
:)My problem:
:)            |---------------------|
:)	    |	   Heading1       |
:) |----------|----|----|-----|-----|---------|
:) |	    |    |    |     |     |         |
:) |          |    |    |     |     |Vertical |
:) | Heading2 |    |    |     |     |Scroll   |---> Fixed this with DIV
:) |          |    |    |     |     |Bar      |     tag and overflow:
:) |          |    |    |     |     |         |     scroll css property.
:) |----------|---------------------|---------|
:)	    |Horizontal Scroll Bar| ------------> Need help here.
:)	    -----------------------
:)Any suggestions on how I can fix the horizontal scrolling are welcome.

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.

Daniel Brooks

Received on Wednesday, 24 June 1998 22:24:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:48 UTC