Hi Ranchers, I am trying to write a code for a table which is having in all 10 columns . My erquirment is , I need horizontal scroll bar for the table and that too for the columns 4,5,6,7,8.9,10. The columns 1,2,3 should not have that horizontal scroll bar.That is columns 1,2,3 will get freezed. Can anyone please tell me the way to achive this . Any link ,any white paper will be appriciated.You can get a fair idea about what I am trying to say by looking at the URL "http://home.tampabay.rr.com/bmerkey/examples/locked-column-csv.html" I have already gone through the code in this link . It works fine with IE but not with mozilla . Can anybody please help me out.
Thanks in advance Samir
[ August 14, 2007: Message edited by: Bear Bibeault ]
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Joined: Jul 27, 2005
hi Dan Thanks a lot for your prompt reaply . Yes you are right ...its all CSS through which everything is happening. Can you please suggest me the solution for the same so that it can also work in Mozilla
Joined: Jun 22, 2005
Originally posted by Dan Drillich: Akhilesh,
Joined: Jul 09, 2001
The entire solution depends on the CSS line -
I just commented it and nothing works. This line is an IE specific CSS code.
left: expression(parentNode.parentNode.parentNode.parentNode.scrollLeft); ------------------ the LEFT attribute/property of my CSS class is reassigned, and set equal to, the left value of the parent of the parent of the parent of the parent.
Peter said -
My book is about CSS and expressions are not part of the CSS standard, they are only a Microsoft extension.
My first instinct was along the lines of 'put the headers in a separate frame, and make that fixed, and let the rest of it have the natural scrollbars vertically - lock the second frame horizontally for alignment.
Regards, Dan [ August 16, 2007: Message edited by: Dan Drillich ]