I have a test-case here:
http://www.jsfiddle.net/kPBbb/
Once the content has .content
, the .wrapper
shrink-wraps itself, presumably because the .content
is display: none
ed. I would like the .wrapper
to behave as if the .content
were still there after the animation, maintaing the initial size.
The .wrapper
has been float: left
ed in order to show the issue (by forcing shrink-wrap behavior), but may not always be, so I'd like a solution that doesn't involve reading the width of the box before the animation, and reapplying it after.
Is there a simple fix?