pad
07-16-2009, 12:07 PM
I have a div which has a min-width and min-height on it, which is always smaller in one way (in width or height) than the containing div. However, the containing div pre-loads, so for a while the smaller div is visible.
What i'd like is for the smaller parent div to smoothly resize to fit the content in the container div, rather than simply jumping to the higher width/height.
Is this possible in js? :)
What i'd like is for the smaller parent div to smoothly resize to fit the content in the container div, rather than simply jumping to the higher width/height.
Is this possible in js? :)