[jQuery] $.width() not giving me the true size....
I have a DIV that I'm appending n spans to. The spans are positioned
absolutely, the Div relatively. Also, the spans have whitespace set to
nowrap and the Div's parent overflow is set to hidden.
When I call $("#divname").width() I get its absolute width ( which is
its parent's width since it's set to 100%) and not the "true" width
including the size of the overflowed elements.
Am I expecting too much?
How can I find the real size without looping through all the child
elements and adding their widths together?
Many thanks.
john