javascript get width of element using offsetWidth

5 Ways To Get The Width Of An HTML Element In JavaScript
  Raja Tamil