Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[[Javascript]] width and height of an element


  • From: john at jwarner.com (John Warner)
  • Subject: [[Javascript]] width and height of an element
  • Date: Sun Sep 24 16:17:58 2006

Paul, thanks for the link, I'm always on the look out for good finds
like this.

John Warner


> -----Original Message-----
> From: javascript-bounces@xxxxxxxxxx 
> [mailto:javascript-bounces@xxxxxxxxxx] On Behalf Of Paul Novitski
> Sent: Sunday, September 24, 2006 4:25 PM
> To: javascript@xxxxxxxxxx
> 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!