I realize the answer could be html, css and/or javascript. I've got div tags that are positioned vertically via javascript. This is necessary because the top is determined by the score of the chart (inside the div). Because of this the css position of them is relative. The divs are overlapping. I need them to stack so one doesn't end up inside (or partially) another one. How can I programmatically set the top of multiple div tags but keep them from intersecting each other? Here is a pic of what I'm dealing with: