Re: (DOM)Compute the sum of width of elements contained in blockleve element
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: (DOM)Compute the sum of width of elements contained in blockleve element

From: Zif <zifud@hotmail.com>
Date: Thu Feb 09 2006 - 00:30:09 CET

Thomas 'PointedEars' Lahn wrote:
> Zif wrote:
>
>
>>Luke Matuszewski wrote:
>>
>>>My question is about returned elements [...] do they have some
>>>property which will indicate the actual width which they take ?
>>
>>Elements don't represent tags anymore than a building represents the
>>plans that were used to build it. Anyhow, enough semantic crap :-)
>>
>>You are looking for clientHeight and clientWidth, [...]
>
>
> He is not:

Maybe, maybe not - or can you read minds?

Maybe you only read to here then punched out a knee-jerk response - or
are you deliberately ignoring the reference to the documentation and
getComputedStyle/currentStyle methods?

-- 
Zif
Received on Mon May 1 03:10:57 2006