Is there a way to determine the width of a div that is inside another div with "overflow: hidden;"?
I attempted setting overflow to auto and then using $("#divselector").width(), but it seems to always provide the width of the parent div!
For example:
HTML:
<div id="content">
<div id="item">content content content ...</div>
</div>
CSS:
#content
{
width: 760px;
height: 100%;
overflow: hidden;
display: block;
position: relative;
cursor: move;
}
Note: It works in IE 6, but not in IE 8...