How to find offsetWidth with a multiline element?
<p>I've built a tooltip where I calculate the position for the tooltip from the hovered element's offsetWidth and offsetHeight,  that works great with one exception:  When the element which is to be hovered over runs down onto the next line the elements offsetWidth becomes much larger and therefore sends the tooltip the width length away from the element.  </p>

<p>Whats the best way to handle that?  I'd like to avoid repositioning the tooltip to where the mouse is as that wouldn't be as aesthetically appealing and would be a larger re-factor.</p>

<p>Note: Javascript only, no jQuery please.</p>
