i am displaying data in an HTML table (id="BigTable2print"
:
i have a loop in asp:
getting the data from database
display several <tr>-s (table rows) in HTML
After the whole table is displayed i can do a javascript like :
var BigTable2printHeight = document.getElementById("BigTable2print"
.Height
right?
and I have the height of the table ...
My problem is that this table is gonna be printed (on paper), and I would like to know the height of the table after every displayed row so I could insert a <tr style="page-break-after: always;">
Any idea how van i get the height of an unclosed table or the unfinished screen?
I need ASP or Javascript
thanks
i have a loop in asp:
getting the data from database
display several <tr>-s (table rows) in HTML
After the whole table is displayed i can do a javascript like :
var BigTable2printHeight = document.getElementById("BigTable2print"
right?
and I have the height of the table ...
My problem is that this table is gonna be printed (on paper), and I would like to know the height of the table after every displayed row so I could insert a <tr style="page-break-after: always;">
Any idea how van i get the height of an unclosed table or the unfinished screen?
I need ASP or Javascript
thanks