Trying to achieve to display the order of my lists in a vertical order.
I have 6 lists, i need to display that the first three should display on the left side and remaining on the right side.
Expected output :
a d
b e
c f
Current Output:
a b
c d
e f
HTML:
<ul>
<li class="list">
<a>a</a>
<ul>
<li>1</li>
</ul>
</li>
<li class="list">
<a>b</a>
<ul>
<li>2</li>
</ul>
</li>
<li class="list">
<a>c</a>
<ul>
<li>3</li>
</ul>
</li>
<li class="list">
<a>d</a>
<ul>
<li>4</li>
</ul>
</li>
<li class="list">
<a>e</a>
<ul>
<li>5</li>
</ul>
</li>
<li class="list">
<a>f</a>
<ul>
<li>6</li>
</ul>
</li>
</ul>
I have attached what I have tried: Demo
And it should support IE8