My dynamic set of divs have varying heights generated dynamically even though their widths are fixed. Despite setting them to float:left
, they are not aligning perfectly under each other. The divs are forming rows with the height of the row being determined by the div with the largest height, resulting in excessive vertical spacing between the divs.
For reference, please check out the following example: JsFiddle
How can I ensure that the div labeled "move this div up" stays positioned directly under div1?