I have a fieldset with some contents, and the contents are moved relative to their original position. See this jsFiddle.
I was pleased when I got on Stack Overflow and searched for my problem: I thought this question was the answer. However, that question only deals with width (to shrink the width of the fieldset to the size of the contents, change the display to inline, or something similar).
How do I shrink the fieldset to the size of the contents? Namely, I want the height of the fieldset to shrink when the contents of the fieldset are moved up.