how can I put a list of LI - items in to columns.
Sort like a table, but with adapting the HTML part.
Code: Select all
<ul>
<li>First</li>
<li>second</li>
<li>third</li>
<li>fourth</li>
</ul>
Code: Select all
<ul>
<li>First</li>
<li>second</li>
<li>third</li>
<li>fourth</li>
</ul>
Code: Select all
li {display: inline-block; width:200px;}
Code: Select all
columns: 2;
-webkit-columns: 2;
-moz-columns: 2;
column-count: 2
-webkit-column-width: 220px;
-moz-column-width: 220px;
-o-column-width: 220px;
-ms-column-width: 220px;
column-width: 220px;
-webkit-column-rule-style: solid;
-moz-column-rule-style: solid;
-o-column-rule-style: solid;
-ms-column-rule-style: solid;
column-rule-style: solid;