Solved

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

Posted on 2008-10-05
4
1,878 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

856 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