You could try reading the styles directly (not getComputedStyle). Have a look at the document.styleSheets object, specifically its cssRules array.
http://www.javascriptkit.com/domref/stylesheet.shtml On Sun, Jan 18, 2009 at 8:48 AM, david <michaelg...@gmail.com> wrote: > > Hi all, > > Is there a way to know if an element was defined in percentage and not > in pixel? > > Thanks in advance, > David