Here’s a little dandy that’ll give back the computed style property in any length and percentage… e.g., getUnits(bob, “width”); will give back an object with bob’s style.width as pixels, em, ex, inches, cm, mm, points, etc.

I’ll try to port it to jQuery, Prototype and MooTools after the holidays…