Is there a way to make this a two column display instead of one.
I want it to go like the following:
1 | 2
3 | 4
5 | 6
Thanks,
-----------------------------------------------
I want it to go like the following:
1 | 2
3 | 4
5 | 6
Thanks,
-----------------------------------------------
Code:
<div id="elmodulewide">
<table width="26%" border="0" align="left" cellpadding="5" cellspacing="2" class="eventset" summary="mod_eventlist_wide">
<colgroup>
<col width="20%" class="elmodw_col_title" />
<col width="20%" class="elmodw_col_category" />
<col width="20%" class="elmodw_col_venue" />
<col width="15%" class="elmodw_col_eventimage" />
<col width="15%" class="elmodw_col_venueimage" />
</colgroup>
<?php foreach ($list as $item) : ?>
<tr>
<td width="68" valign="top"><span class="event-image-cell">
<?php if ($this->use_modal) : ?>
<a href="<?php echo $item->eventimageorig; ?>" class="modal" title="<?php echo $item->title; ?>">
<?php endif; ?>
<img src="<?php echo $item->eventimage; ?>" alt="<?php echo $item->title; ?>" class="image-preview" />
<?php if ($item->eventlink) : ?>
</a>
<?php endif; ?>
</span></td>
<td width="211" nowrap="wrap"><div align="left"><span class="event-image-cell"><span class="event-title">
<?php if ($item->eventlink) : ?>
<a href="<?php echo $item->eventlink; ?>" title="<?php echo $item->title; ?>">
<?php endif; ?>
<?php echo $item->title; ?>
<?php if ($item->eventlink) : ?>
</a>
<?php endif; ?>
</span> <br />
<span class="date"><?php echo $item->date; ?></span><?php if ($item->time && $this->datemethod == 1) : ?>
<span class="time"> <?php echo $item->time; ?> </span>
<?php endif; ?>
</span></div>
<div align="left"><span class="venue-title">
<?php if ($item->venuelink) : ?>
<a href="<?php echo $item->venuelink; ?>" title="<?php echo $item->venue; ?>">
<?php endif; ?>
<?php echo $item->venue; ?><?php if ($item->venuelink) : ?>
</a>
<?php endif; ?>
</span></div></td>
</tr>
<?php endforeach; ?>
</table>
</div>
Comment