Flowing list items into two columns

2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 23, 2008   (RSS)

Re: [chassa2556] Flowing list items into two columns

By Dave - September 23, 2008

Hi Charles,

The first step is to figure out how to do it in HTML. Then figure out the exact HTML that you want inserted where. Once you know that, you can do it with CMS Builder.

For example, if each item was in a table cell you could have 3 columns by inserting a closing and opening TR every 3 cells. Like this:

<?php $maxCols=3; if (@++$count % $maxCols == 0): ? >
</tr><tr>
<?php endif ?>

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com