Answers for "get total width of element including padding and border using jquery"

0

get total width of element including padding and border using jquery

$(elem).outerWidth(); // Returns the width + padding + borders
$(elem).outerWidth( true ); // Returns the width + padding + borders + margins
Posted by: Guest on May-24-2021

Code answers related to "get total width of element including padding and border using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language