• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1910
  • Last Modified:

Adding Scroll to TBODY is not working in IE7 but working in all other browser

Hi Experts,
Please follow the link below:

http://www.imaputz.com/cssStuff/bigFourVersion.html

this site describes how we can add scroll to tbody of a table. This method is working fine in IE6 and other Mozilla based browsers but, when it comes to IE 7 it breaks. I am not able find what its not working.
Can someone help me on this??
0
Techfunda248
Asked:
Techfunda248
  • 2
1 Solution
 
jose_juanCommented:
Oh!... IE7... most popular, and most...

Here a complicated solution... (that run on ie7)

http://www.demay-fr.net/blog/index.php/2007/10/22/87-make-table-tboby-scroll-with-thead-an-tfoot-fixed-on-both-ie5-anbd-firefox

0
 
scrathcyboyCommented:
0
 
Techfunda248Author Commented:
scrathcyboy: Thanks very much..........sorry for delayed reply actually I was on holidays......

http://rcswebsolutions.wordpress.com/2007/01/02/scrolling-html-table-with-fixed-header/

was something very close to what i was looking for...I am going to accept as  a solution.

one more thing can you please let me know how can I detect  how many rows this table can contain befor scroll appear... pls reply back if you any idea about it.
 
0
 
scrathcyboyCommented:
"how can I detect  how many rows this table can contain befor scroll appear."

Very difficult to do.  It is not the rows so much as the data going into each table cell.  If the data is large, the cells will wrap, so the table height grows.  Just one word overflow in any cell of every row can double the height of the table.  Unless you want the data chopped off, you are stuck with the table going to whatever height is needed to display the data.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now