css htmll div in columns 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"></span>
#triple li { width:33.333%; } <span class="code-comment"></span>
#quad li { width:25%; } <span class="code-comment"></span>
#six li { width:16.666%; } <span class="code-comment"></span></code>