element.scrollWidth property returns the total width of an element, in pixels.
This property includes padding, but not the border, margin, and scrollbar (if present).
Note: This property is read-only.
|String||Returns the total width of an element in pixels, including padding, but not the border, scrollbar or margin.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.