Note that clientWidth is read-only, which means qTip can't change it 
directly.
Maybe it helps you to know that the CSSOM 
standard<http://www.w3.org/TR/cssom-view/#dom-element-clientwidth>says that 
clientWidth returns 0 if the element doesn't have any CSS layout 
box associated or if the layout box is inline.

Though without a test case it's hard to give more info than that.

Sebastian

On Monday, September 9, 2013 12:17:03 AM UTC+2, Jim Stapleton wrote:
>
> I tested it outside of a Qtip and the width is reported accurately. Seems 
> as if Qtip is performing its own 'magic' that I need to understand as well 
> as why Firebug can do it.
>
> Thanks, Jim
>
> On Sunday, September 8, 2013 12:56:49 PM UTC-4, Jim Stapleton wrote:
>>
>> This is not really a Firebug issue per se, but a "how do you do it" one. 
>> I'm trying to obtain the width of an element and regardless of method used 
>> (JQuery or pure Javascript) the return from say, 
>> document.getElementById("ent-13").clientWidth() or $("#ent-13").width() 
>> both return zero. When I look at the DOM panel in Firebug I see a non-zero 
>> value.
>>
>> What kind of magic does Firebug use to get real values when the standard 
>> ones don't work?
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/a0b385be-0926-4ee4-9d31-9be4d87f4736%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to