Great trick! I didn't think that absolute positioning would reset its values! Hopefully that works across browsers!
Thanks Klaus and Rick! Fred On 6/17/07, Rick <[EMAIL PROTECTED]> wrote: > > > I think its not calculated, but just the value from css > (elm.style.height). The Dimensions plugin does calculate it > (innerHeight, outerHeight -> elm.offsetHeight). > > On 16 jun, 16:49, "Fred Janon" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am trying to understand how the height of an element is calculated in > > jQuery. I don't understand how the height can be calculated especially > when > > the element is hidden with display:none. > > > > Thanks > > > > Fred > >