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: paul at juniperwebcraft.com (Paul Novitski)
  • Subject: [[Javascript]] width and height of an element
  • Date: Sun Sep 24 15:25:06 2006

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!