You need to sign in to do that
Don't have an account?

Show list element in two colums
Hi
Ihave list which i want to show in two columns only.
Suppose My list have 1,2,3,4,5,6
repeater display like this
1
2
3
4
5
6
I want layout like ..
1 2
3 4
5 6
Thanks & Regards
Ishan Sharma
<ul class="myUl">
<li>Item-1</li>
<li>Item-2</li>
<li>Item-3</li>
<li>Item-4</li>
<li>Item-5</li>
<li>Item-6</li>
</ul>
<style>
ul.myUl li {
float:left; width:50%;
}
</style>
Relace <li> s with
<apex:repeat>
<li>{!value}</li>
</apex:repeat>