How to get dimensions of div with overflow hidden in jQuery?
<p>I have a large div set to 100% width and height of the window. It is scrollable with <code>overflow: hidden</code>. How can I find out the width of the entire inside of element? <code>$('#gallery').scrollWidth</code> returns Undefined and anything else give me the window width.</p>

<p>I understand that the window width is the "correct" dimensions of the div, but is there a way to get the dimensions of the contents that are scrollable inside?</p>
