Link to a JSFiddle for reference: http://jsfiddle.net/STmwz/4/
Initially, there is only the top div displayed. Upon clicking the edit button, the JavaScript code replaces the top div with the bottom div. However, during this transition, there is a slight twitch where everything jumps a couple of pixels.
To resolve this issue, I believe vertical alignment of the top div would be beneficial. The height of the top div matches that of the bottom div when it takes over. If both are vertically aligned, then no jumping should occur!
The problem lies in vertical-align not working on the top div.
Any suggestions on how to address this?