Maybe this links could help. http://dtott.com/thoughts/2008/01/19/convert-pixels-to-ems-a-bookmarklet/
http://riddle.pl/emcalc/ On Jul 20, 7:49 pm, FirefoxRocks <firefoxroc...@gmail.com> wrote: > Currently for the height and width functions, this is the description: > > >> Get the current computed, pixel, height of the first matched element. > > As for setting the height or width, you can specify a unit: > > >> Set the CSS height of every matched element. > >> If no explicit unit was specified (like 'em' or '%') then "px" is > >> concatenated to the value. > > It would nice if we could retrieve the computed height/width of > elements in ems instead of pixels, because I'm trying to avoid pixels > in CSS except for borders.