> Hi,
>
[quoted text clipped - 57 lines]
>
> }
http://www.alistapart.com/articles/multicolumnlists
and this is the part i think youll be interested in...
The technique is simple: give the list items a fixed width and float
them left.
The list items wrap horizontally like words in a paragraph. Generally
speaking, when a series of blocks are floated left or right, they
align horizontally and wrap around when they reach the maximum width
of their container. If just three items can fit on one row, as in this
example, the list naturally wraps into rows of three columns.
The XHTML markup is a straightforward list with no special classes or
other attributes required. To prevent subsequent page elements from
being affected by the float I’ve contained the list in a <div> and
cleared the float with a (non-semantic) <br />:
<div class="wrapper">
<ol
><li><a href="#">Aloe</a></li
><li><a href="#">Bergamot</a></li
...
><li><a href="#">Oregano</a></li
><li><a href="#">Pennyroyal</a></li
></ol>
<br />
</div><!-- .wrapper -->
The essential CSS is brief:
/* allow room for 3 columns */
ol
{
width: 30em;
}
/* float & allow room for the widest item */
ol li
{
float: left;
width: 10em;
}
/* stop the float */
br
{
clear: left;
}
/* separate the list from subsequent markup */
div.wrapper
{
margin-bottom: 1em;
}