Learn all about the jQuery function .outerWidth().
Returns the width of the element, along with left and right padding, border, and optionally margin, in pixels.
includeMargin is omitted or
false, the padding and border are included in the calculation; if
true, the margin is also included.
This method is not applicable to
document objects; for these, use
.width() instead. Although
.outerWidth() can be used on table elements, it may give unexpected results on tables using the
border-collapse: collapse CSS property.