This is a quick, simple tutorial on how to create multiple column lists by only using one ul. Often is the case when you’d want multiple lists side-by-side, but you end up using markup like <ul class="col"> in order to get several lists sat next to each other. However, by simply floating lis left and setting their width to the correct percentage (two columns = li{width:50%;} and so on), you can attain a multiple column list pretty easily.
CSS Wizardry posts tagged ‘Lists’
Multiple column lists using one <ul>
February 11th, 2010
By Harry RobertsTags: CSS, HTML, Lists
. Posted in Web Development | 6 Comments »