Gopinath
06-26-2003, 12:08 AM
I have a table inside Div. Div's style='height: 100px'
and I want to shrink the div height according to data in the table
If data in the table is lesser than 100px then I want to decrease the height of the div to avoid the space it occupies
If i get the tables height in the follwing way
it gives me nothing
document.getElementById("tabid").style.height
and I want to shrink the div height according to data in the table
If data in the table is lesser than 100px then I want to decrease the height of the div to avoid the space it occupies
If i get the tables height in the follwing way
it gives me nothing
document.getElementById("tabid").style.height