set width in jquery code example
Example 1: javascript set div height
document.getElementById("myBtn").style.height = "50px";
Example 2: jquery set width
$(".example").width("px");
Example 3: jquery element width
// Returns width of HTML document
$( document ).width();