Anyone?
From: "NeoPhreak" <tc******@eagle.auc.ca>
Subject: Returning proper height values!
Date: Thursday, January 01, 2004 2:23 PM
I have a very simple script.
It is used to adjust the size of a table cell acording to the size of the a
different table cell.
The main cell has and id value of layout and the table to adjust is
lastcell.
The 465 is the difference between the other cells that i have constant and
the cell that i want to adjust in terms of the layout cell.
The problem.. when it returns the value of the layout cell and adjusts the
size... the size doesn't come out right...
I'm thinking they aren't of the same units and therefor I am getting
incorrect results
var height = document.all.layout.size;
document.write();
var newheight = height - 465;
document.all.lastcell.size == newheight;
Any help would be greatly appreciated
Thanks
NeoPhreak >.<