Scrolling tables ... almost there

A

Alan Searle

Hi everyone,

I need to incorporate a scrolling table into a web-site and so have been
experimenting with various thead/tbody examples that I have found on my
googling expeditions.

So far I have put together the following example ...

http://alse.load4.net/tabletest/table_test08.html

.... which works perfectly under Firefox and looks OK under IE (7.0) but
under IE I find that the content of the first cell is hidden under my
header-bar. You will see that the first 'The Rain in Spain' appears
under Firefox but is hidden with IE.

I am hoping that there is a CSS guru out there who can take a look at my
code and tell me how I might be able to teak it to fix this problem?

Many thanks,
Alan Searle
 
E

Els

Alan said:
http://alse.load4.net/tabletest/table_test08.html

... which works perfectly under Firefox and looks OK under IE (7.0) but
under IE I find that the content of the first cell is hidden under my
header-bar. You will see that the first 'The Rain in Spain' appears
under Firefox but is hidden with IE.

I am hoping that there is a CSS guru out there who can take a look at my
code and tell me how I might be able to teak it to fix this problem?

You have this code in your styles, hidden from Firefox:
thead tr {
position: absolute;
/* top: expression( this.parentNode.offsetHeight - 6 ); */
}

I guess that means that the tr in the thead is not taking up any space
(normal side-effect of position:absolute), so the tbody starts at the
top of the table, and is therefore covered by the thead.
 
D

dorayme

Alan Searle said:
Hi everyone,

I need to incorporate a scrolling table into a web-site and so have been
experimenting with various thead/tbody examples that I have found on my
googling expeditions.

So far I have put together the following example ...

http://alse.load4.net/tabletest/table_test08.html

... which works perfectly under Firefox and looks OK under IE (7.0) but
under IE I find that the content of the first cell is hidden under my
header-bar. You will see that the first 'The Rain in Spain' appears
under Firefox but is hidden with IE.

I am hoping that there is a CSS guru out there who can take a look at my
code and tell me how I might be able to teak it to fix this problem?

This implementation does not work at all on Mac Safari. There was
a recent thread on this, perhaps you could look it up.
 
C

Chris F.A. Johnson

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top