css div colum code example
Example 1: html list over three columns
ul {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}
Example 2: how to make two column list in html
<code>ul{
width:760px;
margin-bottom:20px;
overflow:hidden;
border-top:1px solid #ccc;
}
li{
line-height:1.5em;
border-bottom:1px solid #ccc;
float:left;
display:inline;
}
#double li { width:50%;} <span class="code-comment">/* 2 col */</span>
#triple li { width:33.333%; } <span class="code-comment">/* 3 col */</span>
#quad li { width:25%; } <span class="code-comment">/* 4 col */</span>
#six li { width:16.666%; } <span class="code-comment">/* 6 col */</span></code>