473,509 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Freezing <Td> and <TR>

Hi all im Creating a report in HTML with the help of dotnet.. im
creating a which shows a data of 12 months .. the forst row of the
column contains month names.. and the following data..

The table which contains a data is under div which has a scroll bar..
What in trying to do is freeze the first row of the table which is been
generated.. when scrolled vertically
And the first column of the table when scrolled horizonatlly...

I have tried some of the methods but unable to do so .. I would be glad
if someone help me out in this

Thanks for replying me.

Jan 18 '07 #1
3 1711
Have you thought about using frames to accomplish this?
"jack" <ga**********@gmail.comwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
Hi all im Creating a report in HTML with the help of dotnet.. im
creating a which shows a data of 12 months .. the forst row of the
column contains month names.. and the following data..

The table which contains a data is under div which has a scroll bar..
What in trying to do is freeze the first row of the table which is been
generated.. when scrolled vertically
And the first column of the table when scrolled horizonatlly...

I have tried some of the methods but unable to do so .. I would be glad
if someone help me out in this

Thanks for replying me.

Jan 18 '07 #2
Actually in generating this TD and TR from the code. I have tried
using frames. but frames was making things complicated next to
impossible. Now the problem is im able to freeze the TD and TR but the
page scrolls damn slow.. i have used css for the purpose..which
calculated and freezes the rows,
Im searching for the alternate method through which i can freeze these
TD and TR.

But please if any one of you out there had come againse such a kind of
scenarios the please to let me know the solution..

Thanks for replying me

Jan 23 '07 #3
The method which i have used is thsi
Which is mentioned in one of the class in the style sheet (css) and
this is given to the first row and the first column which would be
freezed when scrolled horizontally or vertically.

position: relative;
top: expression(this.offsetParent.scrollTop - 2);

but while doing this the page scrolls very slowly and takes lot of time
to respond the scroll..

how can i increase the speed of scroll.

please help ..

Jan 23 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3864
by: Sturnoff Megantic | last post by:
This seems like such a stupid little problem, but it's been bugging me for hours now. I have a 2D array called agents2d. I need to loop through it and display the info. Here is my code: echo...
7
2097
by: F. Da Costa | last post by:
Hi, I' looking to retrieve ProdName1 form the <tr> below. <tr id="1-1-1" class="even"> <td> <div class="tier4"> <a href="#" class="leaf"></a> ProdName1 </div>
2
11191
by: js | last post by:
I have a table rendered with XSLT. The first column has a radio button controls for user to make a selection for a particular row. All the values in the remaining columns are all concated with a...
2
5749
by: bissatch | last post by:
Hi, I am trying to use JavaScript to write a table column on a web page. The code is as follows: <html> <head> <script> function displaycount() {
8
8208
by: effendi | last post by:
Hi everyone Sorry to ask such a simple question. I created a table with 18 columns- 16 of which represent weeks starting from 1 to 16. In each cell I have a field which takes either a Null value...
2
2663
by: petereffect | last post by:
i have foll. code <tr> <a href="a1.shtml"> <td width='100%'> &nbsp;"+Testing+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td> </a>
4
5241
George Lft
by: George Lft | last post by:
I'm new at building table. Mostly PHP programming . Now I can't seem to fix the size of my table row and column. Any idea? <h4>Two rows and three columns:</h4> <table border="1"> <tr> ...
7
2774
by: Xiaoyan | last post by:
Hi,everyone: I have a problem now. I can't get the information between the <tr><td> and </td></tr>. for example: I use this regular expression can't get it, I don't know why....
2
2998
by: markszlazak | last post by:
I'm a relatively slow response of table cells changing their background color with mouseover/our in IE6 (Win 2K) but the response is fine (fast) in Firefox. Why? The code is below. Sorry about the...
4
5267
by: harryusa | last post by:
I am trying to center 2 images concentrically which are z-indexed to lay on top of each other making an image with a border from another image that has a transparent center. I need the images to be...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7416
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5656
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1571
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.