jsFiddle here.
I’m toggling a div’s height using JQuery 1.5.2, and it mostly seems to work fine. However, the lower border line does not relocate when it grows, but it does relocate when it shrinks.
Same results for both Chrome and IE9 (I stopped trying other browsers after the first two, because they are my main targets, and are mostly compliant besides.) What gives?
What I’ve tried:
- hiding and re-drawing the border
- different (newer) versions of jQuery
animate({height: x}, y)instead ofcss('height', x)
use this code,
http://jsfiddle.net/vtex4/4/