objRef.currentStyle. said:
gives you the equivalent. However, why do you need to know the font size?
Just use em units where 1em equals the height of the font.
Given the font size in pixels it is possible to emulate the max-width
property in ems in MSIE 5-6. That's what I want to do. It's possible to
emulate max-width for the general case of 96 pixels/inch display and 12pt
default font size (
www.svendtofte.com/code/max_width_in_ie/), but I was
hoping to do better. Maybe the numerical value could be separated from the
units in the fontSize property, multiplied by max-width in ems, then
appended with original units as the max-width property, but since it's
possible font-size might be "medium" or "90%" or "larger" on a user's
stylesheet, that won't work in all cases.
nf