I am facing a scenario where:
http://www.jsfiddle.net/kPBbb/
After adding content to .content
, the .wrapper
shrinks itself, possibly due to the fact that the .content
is set to display: none
. I want the .wrapper
to maintain its original size even after the animation as if the .content
was still present.
To illustrate the issue, the .wrapper
has been floated left, but it may not always be the case. Therefore, I am seeking a solution that does not require obtaining the width of the box before the animation and reapplying it afterwards.
Is there an easy way to address this problem?