I am trying to develop a webpage containing 2 tables whose column widths should be in sync (i.e. column widths can vary dynamically based on the tables' content but the corresponding columns'widths in both tables are to be kept the same so columns match up with each other).
For the correct calculation I need to take borders, margins, padding and what not into account (it's a nightmare!).
On FF my calculations finally work fine, i.e. the two tables look good and match up, but in IE my calculations yields NaN's and consequently exceptions when later setting the column widths.
The reason as I found out is that some of the padding values return values like "medium" instead of a numerical value and then my calculation goes havoc. Is there either a way to query the numerical value or else, how does one translate "thick", "medium", "thin", etc. into their corresponding numerical values?
Michael