Paul, thanks for the link, I'm always on the look out for good finds like this. John Warner > -----Original Message----- > From: javascript-bounces at LaTech.edu > [mailto:javascript-bounces at LaTech.edu] On Behalf Of Paul Novitski > Sent: Sunday, September 24, 2006 4:25 PM > To: javascript at LaTech.edu > Subject: Re: [[Javascript]] width and height of an element > > > At 9/24/2006 09:42 AM, Bernu Bernard wrote: > >My question is what you do when the browser decides the > width and size > >of the element. The usual need is when you precise the width and you > >want to find what the browser has set for the height. > > > >When you directly ask the height you get nothing (null or undefined). > > > I have found Peter-Paul Koch to be a source of reliable low-level > JavaScript functions: > http://www.quirksmode.org/ > > His JavaScript section: http://www.quirksmode.org/js/contents.html > > Element dimensions: > http://www.quirksmode.org/js/elementdimensions.html > > > > Regards, > Paul > > PS: I see that PPK has redesigned his site!