Trying to get listings to flow in two columns

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

Hi - I'm trying to get this content to flow into two columns. There is copy on the left and then a mini portrait on the right. So in fact it would be a two column table that repeats and then flows to a second column on the page. Any ideas?&#10;&#10;&#9;&#10;<h1><?php echo $contactsRecord['title'] ?><br/>&#10;</h1>&#10;<table width="97%" border="0" cellpadding="0" cellspacing="0" id="pastShowslisting">&#10;<tr>&#10;<?php foreach ($contactsRecords as $contactsRecord): ?>&#10;<td width="262" valign="top"><p><span class="date"><?php echo date("M, Y", strtotime($contactsRecord['date'])) ?></span></p>&#10;<p><?php echo $contactsRecord['content'] ?><br/>&#10;</p>&#10;<h1 class="playTitles"><?php echo $contactsRecord['title'] ?></h1>&#10;<p>&nbsp;</p></td>&#10;<?php $maxCols=2; if (@++$count % $maxCols == 0): ?>&#10;</tr>&#10;<tr>&#10;<?php endforeach ?>&#10;</tr>&#10;</table>&#10;&#10;<?php endforeach; ?>&#10;<?php if (!$contactsRecords): ?>&#10;No records were found!<br/>&#10;<br/>&#10; <?php endif ?>&#10;