?
Solved

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

Posted on 2008-10-05
4
Medium Priority
?
1,893 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 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

770 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