add extra px in jquery to element code example Example: jquery element width // Returns width of HTML document $( document ).width();