Hi all,

If I have a div like

    <div id="box" style="width: 90%; padding: 1em; border: 0.5em;"></div>

then

    $('box').getSize().x

returns the complete width in px (including padding and border) and

    $('box').getComputedSize().width

returns 90 (inner width in %).

How can I get the width (without padding and border) in px? Is this 
possible?




Reply via email to