Unfortunately, if you're planning on supporting IE, no this isn't
possible. Internet Explorer (including 9!!) doesn't expose the actual
pixel values for % lengths. If you *know* it's a percentage, you can
look at measuring the element's parent, and calculating it yourself, but
that approach is fraught with danger.
As you yourself have discovered, and as you can see at
http://jsfiddle.net/barryvan/87K5b/4/ , all the other major browsers
behave reasonably, but IE simply doesn't. Sorry!
--
Barry van Oudtshoorn
www.barryvan.com.au