I have a news page where I loop my news articles in tables using the php code
<table width="100%" align="left" cellpadding="2" cellspacing="2" class="table-news-bord">
<tr><?php $index=1; ?> <?php foreach ($newsRecords as $record): ?>
<td width="391" align="left" valign="top">
</td>
<?php $maxCols=2; if (@++$count % $maxCols == 0): ?> </tr><tr> <?php endif ?> <?php $index++; ?>
<?php endforeach ?>
</tr>
</table>
(I am looping a spry script, so I added the <?php $index++; ?> )
Please check out this page:
http://www.axislighting.com/CMS/newsList.php Since I am using collapsible panels with Spry, when you open the article on the top right, by clicking read more link, it pushes down the article on the top left as well and it looks funny. I understand that this is happening because they are in the same <tr> so when you extend one, the other gets extended.
I am assuming that if I use the <div> tag this might not happen.
Any suggestions how and if this can be done?