I am attempting to alter the direction of Elements to be vertical. Here is an example:
By default, HTML elements are displayed horizontally like this:-
#container {
position: absolute;
width: 400px;
height: 200px;
border: 1px solid green;
padding: 4px;
}
#secondcolumn {
position: absolute;
margin-left: 200px;
margin-top: -90px;
}
#secondcolumn > span {border:1px solid red;}
#container > span {border:1px solid blue;}
<div id="container">
<span>1.</span>
<span>I am flowing horizontally.</span>
<span>2.</span>
<span>I am flowing horizontally.</span>
<span>3.</span>
<span>I am flowing horizontally.</span>
<span>4.</span>
<span>I am flowing horizontally.</span>
<span>5.</span>
<span>I am flowing horizontally.</span>
<span>6.</span>
<span>I am flowing horizontally.</span>
<h4>Elements have to flow like this:-</h4>
<span>1.</span>
<span>I am flowing vertically.</span>
<br>
<span>2.</span>
<span>I am flowing vertically.</span>
<br>
<span>3.</span>
<span>I am flowing vertically.</span>
<br>
<span>4.</span>
<span>I am flowing vertically.</span>
<br>
<span>5.</span>
<span>I am flowing vertically.</span>
<div id="secondcolumn">
<span>6.</span>
<span>I am flowing vertically.</span>
<br>
<span>7.</span>
<span>I am flowing vertically.</span>
<br>
<span>8.</span>
<span>I am flowing vertically.</span>
</div>
</div>
Organizing Elements from Top to Bottom rather than Left to Right (float: down?)