Solved

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

Posted on 2008-10-05
4
1,874 Views
Last Modified: 2013-11-19
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
Comment
Question by:Techfunda248
  • 2
4 Comments
 
LVL 5

Expert Comment

by:jose_juan
ID: 22647555
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
 
LVL 44

Accepted Solution

by:
scrathcyboy earned 500 total points
ID: 22656284
0
 

Author Comment

by:Techfunda248
ID: 22700577
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
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 22703763
"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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jQuery detect if it is a mobile device 3 91
Error in script 11 44
Change CSS to show Notification Bar 9 11
Not seen Link button 5 0
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now