I try to get the width of an element but the returned value is wrong
let container = document.querySelector('.content')
console.log(container.offsetWidth) //this will log wrong value 1182px instead of 960px
console.log(getComputedStyle(container).width) //1182px anyway I don't have any idea from where the value comes
I can not get an idea why the returned value is wrong