ScottInTexas
12-16-2002, 06:18 PM
I am puring a table of data into an IFrame. When this table is printed there are no headers. Of course if I write headers to the table and the user scrolls the IFrame the headers scroll up also and the user now has no visible headers. In order to have the headers printed with the contents they have to be part of the IFrame.
So, I would like to see if it is viable to put a div in the top of the IFrame and as the user scrolls keep the div visible. My approach is
div tag - headers - end div
begin table
row , cells , end row
row, cells, end row
end table
write all of this to the iframe
get the x, y position of the div
if the div moves correct it to original x, y position.
Is this correct or am I thinking wrong?
So, I would like to see if it is viable to put a div in the top of the IFrame and as the user scrolls keep the div visible. My approach is
div tag - headers - end div
begin table
row , cells , end row
row, cells, end row
end table
write all of this to the iframe
get the x, y position of the div
if the div moves correct it to original x, y position.
Is this correct or am I thinking wrong?