How to get element width in pixels (px)? jQuery always returns value in percent (pct).
HTML
This worked for me:
document.getElementById().offsetWidth;