Obtenga un ancho total de elementos, incluido el relleno y el borde usando jQuery

$(elem).outerWidth(); // Returns the width + padding + borders
$(elem).outerWidth( true ); // Returns the width + padding + borders + margins
Fierce Flamingo