jquery get width of div by class including padding code example
Example 1: jquery set width
$(".example").width("px");
Example 2: jquery element width
// Returns width of HTML document
$( document ).width();
$(".example").width("px");
// Returns width of HTML document
$( document ).width();