Solved

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

Posted on 2008-10-05
4
1,881 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

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.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

737 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