I need help creating a list that displays in two columns.
One column for odd numbers, the other for even numbers.
Here's an example of what I'm trying to achieve:
+----------------------------------------------------+
| col-md-9 |
+------------------------+---------------------------+
| 1. | 2 |
| 3. | 4. |
| 5. | 6. |
| 7. | 8. |
| 9. | 10. |
| | |
| | |
| | |
| | |
+------------------------+---------------------------+
Here is my current code:
<div class="col-md-9">
<ul>
<li>1.</li>
<li>2.</li>
<li>3.</li>
<li>4.</li>
<li>5.</li>
<li>6.</li>
<li>7.</li>
<li>8.</li>
<li>9.</li>
<li>10.</li>
</ul>
</div>
Any tips on how I can accomplish this? PS: I am using a while() loop to expand the list.