I'm trying to figure out how to have divs start drawing from the same point. Essentially, I want to be able to add new divs and have them appear stacked on top of each other, so that they can all move together based on a single reference point.
Here's the CSS code I currently have:
#num1,#num2{
display : inline;
position:relative;
left:50px;
}
And here's the HTML code:
<div id='container'>
<div id='num1'></div>
<div id='num2'></div>
</div>
Can anyone help me modify this code so that when the browser renders it, the two divs will actually be in the same spot?