[[Javascript]] width and height of an element

Bernu Bernard bernu at lptmc.jussieu.fr
Sun Sep 24 15:44:38 CDT 2006


Le Sep 24, 2006 à 10:24 PM, Paul Novitski a écrit :

> 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!
This is indeed a very useful site.
Thanks.
Regards,
Bernard
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list